Skip to content

Commit 3399e8a

Browse files
apapirovskiMylesBorins
authored andcommitted
test: fix flaky test-pipe-unref
PR-URL: #17950 Fixes: #16875 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent 7998058 commit 3399e8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-pipe-unref.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
const common = require('../common');
33
const net = require('net');
44

5+
// This test should end immediately after `unref` is called
6+
57
common.refreshTmpDir();
68

79
const s = net.Server();
810
s.listen(common.PIPE);
911
s.unref();
10-
11-
setTimeout(common.mustNotCall(), 1000).unref();

0 commit comments

Comments
 (0)