-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
test: improve flakiness detection on stack corruption tests #58601
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: improve flakiness detection on stack corruption tests #58601
Conversation
This change skips asserting the exit code of the child process with the corrupted async hooks stack only on those platforms where termination via a signal has been observed. Refs: nodejs#58478 (comment) Signed-off-by: Darshan Sen <raisinten@gmail.com>
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
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #58601 +/- ##
==========================================
- Coverage 90.19% 90.19% -0.01%
==========================================
Files 635 636 +1
Lines 187495 187698 +203
Branches 36819 36845 +26
==========================================
+ Hits 169116 169298 +182
- Misses 11158 11164 +6
- Partials 7221 7236 +15 🚀 New features to boost your workflow:
|
|
I think the questions remain. What is causing |
In #58463 (comment), @Flarna suggested that this might be caused by a resource limitation. Someone from @nodejs/platform-aix might be able to confirm.
Since this tests an async hooks stack corruption I don't know how relevant it is. Can someone from @nodejs/async_hooks answer that? |
|
Landed in b23648e |
This change skips asserting the exit code of the child process with the corrupted async hooks stack only on those platforms where termination via a signal has been observed. Refs: #58478 (comment) Signed-off-by: Darshan Sen <raisinten@gmail.com> PR-URL: #58601 Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This change skips asserting the exit code of the child process with the corrupted async hooks stack only on those platforms where termination via a signal has been observed.
Refs: #58478 (comment)