Skip to content
Closed
Changes from 1 commit
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
Next Next commit
test: update setTimeout to use common.platformTimeout
Changes the time used by the last line of the file to normalize the timeout
by using the common library.
  • Loading branch information
conectado committed Jul 25, 2018
commit ef9b21777e900e0b9fc1eb36a2fbf7139d2eb33d
2 changes: 1 addition & 1 deletion test/internet/test-net-connect-unref.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ const client = net.createConnection(53, '8.8.8.8', function() {

client.on('close', common.mustNotCall());

setTimeout(common.mustNotCall(), TIMEOUT).unref();
setTimeout(common.mustNotCall(), common.platformTimeout(TIMEOUT)).unref();