mirror of
https://github.com/zebrajr/node.git
synced 2025-12-06 00:20:08 +01:00
test: skip quic tests that IBM i does not support
PR-URL: https://github.com/nodejs/node/pull/60160 Reviewed-By: Richard Lau <richard.lau@ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
parent
4daeec11b9
commit
e105e821e9
|
|
@ -1,5 +1,5 @@
|
|||
// Flags: --experimental-quic
|
||||
import { hasQuic, isAIX, isWindows, skip } from '../common/index.mjs';
|
||||
import { hasQuic, isAIX, isIBMi, isWindows, skip } from '../common/index.mjs';
|
||||
import { rejects } from 'node:assert';
|
||||
|
||||
if (!hasQuic) {
|
||||
|
|
@ -10,6 +10,11 @@ if (isAIX) {
|
|||
// example server and client.
|
||||
skip('QUIC third-party tests are disabled on AIX');
|
||||
}
|
||||
if (isIBMi) {
|
||||
// IBM i does not support some of the networking features used in the ngtcp2
|
||||
// example server and client.
|
||||
skip('QUIC third-party tests are disabled on IBM i');
|
||||
}
|
||||
if (isWindows) {
|
||||
// Windows does not support the [Li/U]nix specific headers and system calls
|
||||
// required by the ngtcp2 example server/client.
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
// Flags: --experimental-quic
|
||||
import { hasQuic, isAIX, isWindows, skip } from '../common/index.mjs';
|
||||
import { hasQuic, isAIX, isIBMi, isWindows, skip } from '../common/index.mjs';
|
||||
|
||||
if (!hasQuic) {
|
||||
skip('QUIC support is not enabled');
|
||||
|
|
@ -9,6 +9,11 @@ if (isAIX) {
|
|||
// example server and client.
|
||||
skip('QUIC third-party tests are disabled on AIX');
|
||||
}
|
||||
if (isIBMi) {
|
||||
// IBM i does not support some of the networking features used in the ngtcp2
|
||||
// example server and client.
|
||||
skip('QUIC third-party tests are disabled on IBM i');
|
||||
}
|
||||
if (isWindows) {
|
||||
// Windows does not support the [Li/U]nix specific headers and system calls
|
||||
// required by the ngtcp2 example server/client.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user