Skip to content

Commit

Permalink
test: fixup test that no longer fails with quic update
Browse files Browse the repository at this point in the history
  • Loading branch information
jasnell committed Dec 30, 2023
1 parent 84dbe6a commit ec493df
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/parallel/test-crypto-no-algorithm.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ if (common.isMainThread) {
const cp = spawnSync(process.execPath,
[ `--openssl-config=${baseConf}`, '-p', '"hello"' ],
{ encoding: 'utf8' });
assert(common.nodeProcessAborted(cp.status, cp.signal),
`process did not abort, code:${cp.status} signal:${cp.signal}`);
// In src/quic/tlscontext.cc, we call ngtcp2_crypto_quictls_init which
// performs some initialization of the quic+tls openssl library to
// deal with some performance issues. This initialization also ensures
// that this test does not hang and does not abort.
assert(!common.nodeProcessAborted(cp.status, cp.signal),
`process aborted, code:${cp.status} signal:${cp.signal}`);
}

0 comments on commit ec493df

Please sign in to comment.