Skip to content

Commit

Permalink
test: fix flaky test-http2-session-unref
Browse files Browse the repository at this point in the history
This test should exit naturally or will timeout on its own,
a separate unrefed timer is not necessary.

PR-URL: #18589
Fixes: #18587
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Yuta Hiroto <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
  • Loading branch information
apapirovski authored and MylesBorins committed Feb 21, 2018
1 parent c230219 commit 298ee05
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/parallel/test-http2-session-unref.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,3 @@ server.listen(0, common.mustCall(() => {
}));
server.emit('connection', serverSide);
server.unref();

setTimeout(common.mustNotCall(() => {}), 1000).unref();

0 comments on commit 298ee05

Please sign in to comment.