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

retry tests with sleep once after node-gyp rebuild #98

Conversation

nineninesevenfour
Copy link
Contributor

fixes a usually failing check for exercise "CALL ME MAYBE"
might also possibly fix issue #93


The check of the exercise "CALL ME MAYBE" usually fails for me:

 ✗

 Slept for the right amount of time (asked for 111ms, slept for 586)

I observed that runtime is usually higher after a fresh node-gyp rebuild. Therefor I suggest fot the two tests "CALL ME MAYBE" and "OFFLOADING THE WORK" to retry the runtime duration check once, if it fails in the first place.

(GutHub marks a lot of lines changed, but these are mostly whitespace changes).

fixes a usually failing check for exercise "CALL ME MAYBE"
might also possibly fix issue workshopper#93

Signed-off-by: Harald Fassler <harald.fassler+9974@gmail.com>
@martinheidegger martinheidegger merged commit 22150ec into workshopper:master Aug 19, 2021
@martinheidegger
Copy link
Contributor

martinheidegger commented Aug 19, 2021

Thank you for providing inspiration for fixing this bug. I took the liberty to rewrite it a bit in 81fc044 (reuse and stuff)

Published with 2.1.0

@nineninesevenfour
Copy link
Contributor Author

Happy you liked my input! to be honest I saw that some reuse would be appropriate, but I was just not bold enough to propose it. 😁 Glad that's done now too! thx!

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