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:
SRAVANI GUNDEPALLI 2025-10-10 11:45:13 +05:30 committed by GitHub
parent 4daeec11b9
commit e105e821e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 2 deletions

View File

@ -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.

View File

@ -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.