Skip to content

Commit 8a3836e

Browse files
danbevtargos
authored andcommitted
test: add crypto check to test-benchmark-http2
Currently, this test will fail when configured --without-ssl. This commit adds a crypto check to have this test skipped when configured without crypto support. PR-URL: #24096 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
1 parent 4a0f276 commit 8a3836e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/sequential/test-benchmark-http2.js

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
'use strict';
22

33
const common = require('../common');
4+
if (!common.hasCrypto)
5+
common.skip('missing crypto');
46

57
if (!common.enoughTestMem)
68
common.skip('Insufficient memory for HTTP/2 benchmark test');

0 commit comments

Comments
 (0)