You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@nodejs/testing There is a familiar cause for this test failure but there are (at least) two options for fixing. I'm not sure which path is correct. Help?
So, this looks like another of those "busy under-powered machine fires timeouts unreliably" and the solution is to just remove the 200ms timeout that fails the test.
But that timeout is firing reliably-ish. It's the socket timeout that seems to be delayed. Because there is a socket timeout of 100ms. So, that socket timeout should be firing before the timer timeout. (Although maybe part of the issue is that the execution duration after the timer timeout is set is not just 100ms for socket but 100ms for socket timeout + other stuff like maybe connecting or whatever?)
SO....two options:
Remove the timer timeout. Upside is it should make the test reliable. Downside is that we are no longer testing that a 100ms socket timeout occurs in less than 200ms, which seems like a valid-ish test, no?
Move the test from parallel to sequential so that other tests consuming resources won't affect it and cause a failure. I'm leaning towards that if a stress test shows no failures.
https://ci.nodejs.org/job/node-test-commit-freebsd/5295/nodes=freebsd10-64/console: