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 <michael_dawson@ca.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • 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.