Uh oh!
There was an error while loading. Please reload this page.
test: stabilize eventloopdelay test - #41716
Conversation
This change makes the eventloopdelay test less flakey on some platforms by replacing a blocking-wait with a busy-wait which means the eventloop will always be positive increase. This is a partial revert of nodejs#30787 that returns the test to the state it had originally.
Trott
commented
Jan 27, 2022
@nodejs/testing, especially @cjihrig |
This comment has been minimized.
This comment has been minimized.
targos
commented
Jan 27, 2022
should we do a stress test? |
nodejs-github-bot
commented
Jan 27, 2022
cjihrig
commented
Jan 27, 2022
I'm not so sure about this fix. It's good if we can get the test passing, but I think either Node's event loop monitoring needs to be able to handle this scenario, or something else in this test is incorrect.
I think so, yes. |
benjamingr
commented
Jan 27, 2022
Me neither - if there is a way to synthetically get the histogram to report event loop delay that would be preferable. |
cjihrig
commented
Jan 27, 2022
I'm curious how long this test has been flaky for. I've definitely noticed it lately, but the change being partially reverted here landed over two years ago. Maybe I just missed the failures in the past, but is it possible that a recent change introduced the flakiness? |
richardlau
commented
Jan 27, 2022
It seemed to start appearing around 22 December 2021 #41286 (comment). |
23637e9 landed three days prior to that and could be worth investigating. |
richardlau
commented
Jan 27, 2022
#41286 (comment) added some debug and it looks like in the failing case we end up with |
dismissing my review while this is discussed
benjamingr
commented
Jan 28, 2022
Adding 'blocked' so this doesn't land before other avenues have been explored. |
This change makes the eventloopdelay test less flakey on some platforms
by replacing a blocking-wait with a busy-wait which means the eventloop
will always be positive increase.
This is a partial revert of #30787 that returns the test to the state it
had originally.
Example failure:
https://ci.nodejs.org/job/node-test-commit-linuxone/30460/nodes=rhel7-lto-s390x/testReport/junit/(root)/test/sequential_test_performance_eventloopdelay_/