Skip to content

Commit 30a233c

Browse files
apapirovskiMylesBorins
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: #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]>
1 parent ef2d9c2 commit 30a233c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

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

-2
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)