Skip to content

test: add hasCrypto to worker-cleanexit-with-moduleload#25811

Closed
danbev wants to merge 3 commits into
nodejs:masterfrom
danbev:without-ssl-worker-cleanexit-with-moduleload
Closed

test: add hasCrypto to worker-cleanexit-with-moduleload#25811
danbev wants to merge 3 commits into
nodejs:masterfrom
danbev:without-ssl-worker-cleanexit-with-moduleload

Conversation

@danbev

@danbev danbev commented Jan 30, 2019

Copy link
Copy Markdown
Contributor

Currently, this test fails when configured --without-ssl:

=== release test-worker-cleanexit-with-moduleload ===
Path: parallel/test-worker-cleanexit-with-moduleload
events.js:173
      throw er; // Unhandled 'error' event
      ^
internal/util.js:101
    throw new ERR_NO_CRYPTO();
    ^

Error [ERR_NO_CRYPTO]:
Node.js is not compiled with OpenSSL crypto support

This commit as a check for crypto so that this test is skipped if there
is no crypto support.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Currently, this test fails when configured --without-ssl:

=== release test-worker-cleanexit-with-moduleload ===
Path: parallel/test-worker-cleanexit-with-moduleload
events.js:173
      throw er; // Unhandled 'error' event
      ^
internal/util.js:101
    throw new ERR_NO_CRYPTO();
    ^

Error [ERR_NO_CRYPTO]:
Node.js is not compiled with OpenSSL crypto support

This commit as a check for crypto so that this test is skipped if there
is no crypto support.
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to the tests. label Jan 30, 2019
@danbev

danbev commented Jan 30, 2019

Copy link
Copy Markdown
Contributor Author

@gireeshpunathil

Copy link
Copy Markdown
Member

sorry about that!

@danbev

danbev commented Jan 30, 2019

Copy link
Copy Markdown
Contributor Author

sorry about that!

No worries at all! 👍

@richardlau richardlau left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it only the https module that is causing an issue? (If so, could we just put a guard around the one module?)

@danbev

danbev commented Jan 31, 2019

Copy link
Copy Markdown
Contributor Author

Is it only the https module that is causing an issue? (If so, could we just put a guard around the one module?)

Good point. I've added a suggestion for this now. Thanks

@danbev danbev added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jan 31, 2019
@danbev

danbev commented Feb 1, 2019

Copy link
Copy Markdown
Contributor Author

@danbev

danbev commented Feb 1, 2019

Copy link
Copy Markdown
Contributor Author

Re-build of failing node-test-commit-arm-fanned (✔️)

@danbev

danbev commented Feb 4, 2019

Copy link
Copy Markdown
Contributor Author

Landed in d6a32cf.

@danbev danbev closed this Feb 4, 2019
@danbev danbev deleted the without-ssl-worker-cleanexit-with-moduleload branch February 4, 2019 04:46
addaleax pushed a commit that referenced this pull request Feb 6, 2019
Currently, this test fails when configured --without-ssl:

=== release test-worker-cleanexit-with-moduleload ===
Path: parallel/test-worker-cleanexit-with-moduleload
events.js:173
      throw er; // Unhandled 'error' event
      ^
internal/util.js:101
    throw new ERR_NO_CRYPTO();
    ^

Error [ERR_NO_CRYPTO]:
Node.js is not compiled with OpenSSL crypto support

This commit as a check for crypto so that this test is skipped if there
is no crypto support.

PR-URL: #25811
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
@targos targos mentioned this pull request Feb 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants