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

test: increase mocha timeout #2887

Merged
merged 1 commit into from Jul 24, 2023

Conversation

StefanStojanovic
Copy link
Contributor

Checklist
Description of change

Since migrating from Tap to Mocha it can be observed that sometimes tests will fail on Windows because of the "after all" hook is not executed within 2 seconds. This change increases the default timeout affecting that hook in order to avoid failures due to this hook timing out.

@cclauss
Copy link
Contributor

cclauss commented Jul 19, 2023

The Python lint error is fixed in #2886

Copy link
Contributor

@cclauss cclauss left a comment

Choose a reason for hiding this comment

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

LGTM

@StefanStojanovic StefanStojanovic merged commit 445c28f into nodejs:main Jul 24, 2023
22 checks passed
@cclauss
Copy link
Contributor

cclauss commented Jul 24, 2023

Landing this seems to cause errors on our GitHub Actions...

Starting test 'parallel installs (tarball)'
Test 'parallel installs (tarball)' failed in 599997 ms with Error: Timeout of 600000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/Users/runner/work/node-gyp/node-gyp/test/test-install.js)

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.

None yet

2 participants