Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable a test as the built-in openssl on macOS does not support negative days #1457

Merged
merged 3 commits into from
Sep 10, 2020
Merged

Conversation

Giotino
Copy link
Collaborator

@Giotino Giotino commented Sep 10, 2020

Title self-explanatory.

Reference: https://ci.nodejs.org/job/citgm-smoker-nobuild/nodes=osx1015/935/testReport/junit/(root)/citgm/got_v11_6_1/

The test has been disabled, I'm looking for some kind of replacement. We cannot play with timers because the TLS logic related to the certificate expiration is done by openssl.

@sindresorhus sindresorhus changed the title [Tests] Default openssl on MacOS does not support negative days Disable a test as the built-in openssl on macOS does not support negative days Sep 10, 2020
Copy link
Owner

@sindresorhus sindresorhus left a comment

Choose a reason for hiding this comment

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

I think it's fine to just disable this test on macOS. Not worth wasting time on finding a workaround.

@Giotino
Copy link
Collaborator Author

Giotino commented Sep 10, 2020

I think we can leave this test disabled for MacOS. The CI infrastructure is based on Linux, we can catch this problem. If it doesn't work on MacOS (but works on Linux) the problem is probably going to be the openssl on MacOS.

@Giotino Giotino marked this pull request as ready for review September 10, 2020 19:54
@Giotino Giotino merged commit 0f932ba into sindresorhus:master Sep 10, 2020
@Giotino Giotino deleted the openssl-macos branch September 10, 2020 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants