Skip to content
Browse files

test: add hasCrypto check to async-wrap-GH13045

This test currently fails if node was configured --without-ssl. This
commit adds crypto check and skips this test if crypto support is
not available.

PR-URL: #13141
Reviewed-By: Colin Ihrig <>
Reviewed-By: Santiago Gimeno <>
Reviewed-By: Luigi Pinca <>
Reviewed-By: James M Snell <>
  • Loading branch information...
danbev authored and jasnell committed May 21, 2017
1 parent 414f93e commit 268a39ac2a10f3ce907b3af60457f40734a46381
Showing with 4 additions and 0 deletions.
  1. +4 −0 test/parallel/test-async-wrap-GH13045.js
@@ -1,5 +1,9 @@
'use strict';
const common = require('../common');
if (!common.hasCrypto) {
common.skip('missing crypto');

// Refs:
// An HTTP Agent reuses a TLSSocket, and makes a failed call to `asyncReset`.

0 comments on commit 268a39a

Please sign in to comment.
You can’t perform that action at this time.