-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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: make test-loaders-workers-spawned
less flaky
#55172
test: make test-loaders-workers-spawned
less flaky
#55172
Conversation
425e74d
to
7224c5d
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #55172 +/- ##
==========================================
+ Coverage 88.23% 88.40% +0.16%
==========================================
Files 651 652 +1
Lines 183863 186565 +2702
Branches 35824 36043 +219
==========================================
+ Hits 162235 164924 +2689
+ Misses 14932 14910 -22
- Partials 6696 6731 +35 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM though the unredability of the regexp seems to be getting out of hand..would be easier to read if it's just a bunch of "if index of A is smaller than index of B" checks
Landed in a05cb0d |
PR-URL: #55172 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
PR-URL: nodejs#55172 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
PR-URL: #55172 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
PR-URL: #55172 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
I've seen it fail on CI (e.g. https://github.com/nodejs/node/actions/runs/11084447570/job/30799766200), cannot reproduce locally. Calling
console.log
from both a worker and the main thread is always going to result in uncertain output, IMO it makes sense to considered the test passed as long as we got all of them, regardless of the order.