Files
node/test/parallel
Anna Henningsen 2dec0f9831 test: fix flaky test-worker-debug
Address a race condition in the test; the Worker’s exit events
may have been not recorded because the Worker exited before
the listeners were attached.

Fix the by attaching the event listeners before telling the Worker
to exit.

PR-URL: https://github.com/nodejs/node/pull/28307
Fixes: https://github.com/nodejs/node/issues/28299
Fixes: https://github.com/nodejs/node/issues/28106
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
2019-06-20 11:55:46 +02:00
..
2019-03-23 02:55:54 +01:00
2019-06-06 19:38:34 -04:00
2019-03-23 02:55:54 +01:00
2019-03-23 02:55:54 +01:00
2019-04-16 03:37:03 +02:00
2019-03-23 02:55:54 +01:00
2019-03-23 02:55:54 +01:00
2019-03-23 02:55:54 +01:00
2019-03-23 02:55:54 +01:00
2019-03-23 02:55:54 +01:00
2019-03-23 02:55:54 +01:00
2019-03-23 02:55:54 +01:00
2019-03-23 02:55:54 +01:00
2019-03-23 02:55:54 +01:00
2019-03-23 02:55:54 +01:00
2019-03-23 02:55:54 +01:00
2019-04-16 03:37:03 +02:00
2019-02-28 05:20:51 +01:00
2019-04-16 03:37:03 +02:00
2019-05-02 23:22:38 +02:00
2019-03-20 07:48:25 -07:00
2019-03-20 07:48:25 -07:00
2019-03-20 07:48:25 -07:00
2019-03-20 07:48:25 -07:00
2019-03-20 07:48:25 -07:00
2019-03-20 07:48:25 -07:00