Skip to content

Commit 3ed17c5

Browse files
apapirovskiMayaLekova
authored andcommitted
test: fix flaky test-http2-session-unref
This test should exit naturally or will timeout on its own, a separate unrefed timer is not necessary. PR-URL: nodejs#18589 Fixes: nodejs#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]>
1 parent 7a6b023 commit 3ed17c5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/parallel/test-http2-session-unref.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,3 @@ server.listen(0, common.mustCall(() => {
4949
}));
5050
server.emit('connection', serverSide);
5151
server.unref();
52-
53-
setTimeout(common.mustNotCall(() => {}), 1000).unref();

0 commit comments

Comments
 (0)