Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
test: fix flaky test-pipe-unref
  • Loading branch information
apapirovski committed Jan 2, 2018
commit 0c770170d1b83e41fee1ecafa14a396949c5400e
4 changes: 2 additions & 2 deletions test/parallel/test-pipe-unref.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
const common = require('../common');
const net = require('net');

// This test should end immediately after `unref` is called

common.refreshTmpDir();

const s = net.Server();
s.listen(common.PIPE);
s.unref();

setTimeout(common.mustNotCall(), 1000).unref();