Skip to content

Commit 615160c

Browse files
committed
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 <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
1 parent 33fbb93 commit 615160c

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)