Skip to content

Commit

Permalink
test: add crypto check to test-benchmark-http2
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
danbev authored and MylesBorins committed Dec 3, 2018
1 parent cb883bc commit dddb466
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/sequential/test-benchmark-tls.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
'use strict';

const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');

if (!common.hasCrypto)
common.skip('missing crypto');
Expand Down

0 comments on commit dddb466

Please sign in to comment.