-
Notifications
You must be signed in to change notification settings - Fork 7.3k
test-debug-signal-cluster.js failing sporadically #6440
Comments
I can add a delay of 200ms before calling |
Please ignore my previous comment. That commit did fix some issues with the cluster+debugger tests but I see that this particular test waits for the workers to get online before it starts sending the signals. For that matter, I ran the test 100x on two machines and it always passes for me. |
It seems that now |
Previously if a worker's state machine had already transitioned into the 'listening' state when it received the message enabling the debugger, the worker would never enable its debugger. Change the logic to allow the 'listening' as a valid state for enabling the debugger. Fixes nodejs#6440
Previously if a worker's state machine had already transitioned into the 'listening' state when it received the message enabling the debugger, the worker would never enable its debugger. Change the logic to allow the 'listening' as a valid state for enabling the debugger. Fixes nodejs#6440 Signed-off-by: Julien Gilli <julien.gilli@joyent.com>
Previously if a worker's state machine had already transitioned into the 'listening' state when it received the message enabling the debugger, the worker would never enable its debugger. Change the logic to allow the 'listening' as a valid state for enabling the debugger. Fixes nodejs#6440 Signed-off-by: Julien Gilli <julien.gilli@joyent.com>
Previously if a worker's state machine had already transitioned into the 'listening' state when it received the message enabling the debugger, the worker would never enable its debugger. Change the logic to allow the 'listening' as a valid state for enabling the debugger. Fixes nodejs#6440
Previously if a worker's state machine had already transitioned into the 'listening' state when it received the message enabling the debugger, the worker would never enable its debugger. Change the logic to allow the 'listening' as a valid state for enabling the debugger. Fixes nodejs#6440 Signed-off-by: Julien Gilli <julien.gilli@joyent.com>
Fixed by e9df9a0 and 58fcc65, thanks @tjfontaine! |
Previously if a worker's state machine had already transitioned into the 'listening' state when it received the message enabling the debugger, the worker would never enable its debugger. Change the logic to allow the 'listening' as a valid state for enabling the debugger. Fixes: nodejs/node-v0.x-archive#6440 Original-PR-URL: nodejs/node-v0.x-archive#9037 Signed-off-by: Julien Gilli <julien.gilli@joyent.com> Fixes: nodejs#340 PR-URL: nodejs#501 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Bert Belder <bertbelder@gmail.com> Reviewed-By: Rod Vagg <rod@vagg.org>
Example: http://jenkins.nodejs.org/job/node-pullrequest/1471/DESTCPU=ia32,label=linux/tapTestReport/test.tap-104/
Running the test a bunch of times in a loop usually makes it fail within 10 or so iterations for me.
The text was updated successfully, but these errors were encountered: