Skip to content

Commit e105e82

Browse files
authored
test: skip quic tests that IBM i does not support
PR-URL: #60160 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 4daeec1 commit e105e82

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

test/parallel/test-quic-test-client.mjs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Flags: --experimental-quic
2-
import { hasQuic, isAIX, isWindows, skip } from '../common/index.mjs';
2+
import { hasQuic, isAIX, isIBMi, isWindows, skip } from '../common/index.mjs';
33
import { rejects } from 'node:assert';
44

55
if (!hasQuic) {
@@ -10,6 +10,11 @@ if (isAIX) {
1010
// example server and client.
1111
skip('QUIC third-party tests are disabled on AIX');
1212
}
13+
if (isIBMi) {
14+
// IBM i does not support some of the networking features used in the ngtcp2
15+
// example server and client.
16+
skip('QUIC third-party tests are disabled on IBM i');
17+
}
1318
if (isWindows) {
1419
// Windows does not support the [Li/U]nix specific headers and system calls
1520
// required by the ngtcp2 example server/client.

test/parallel/test-quic-test-server.mjs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Flags: --experimental-quic
2-
import { hasQuic, isAIX, isWindows, skip } from '../common/index.mjs';
2+
import { hasQuic, isAIX, isIBMi, isWindows, skip } from '../common/index.mjs';
33

44
if (!hasQuic) {
55
skip('QUIC support is not enabled');
@@ -9,6 +9,11 @@ if (isAIX) {
99
// example server and client.
1010
skip('QUIC third-party tests are disabled on AIX');
1111
}
12+
if (isIBMi) {
13+
// IBM i does not support some of the networking features used in the ngtcp2
14+
// example server and client.
15+
skip('QUIC third-party tests are disabled on IBM i');
16+
}
1217
if (isWindows) {
1318
// Windows does not support the [Li/U]nix specific headers and system calls
1419
// required by the ngtcp2 example server/client.

0 commit comments

Comments
 (0)