From 298ee05f5090930db8c5bdc1afb3c25f8afad88c Mon Sep 17 00:00:00 2001 From: Anatoli Papirovski Date: Mon, 5 Feb 2018 15:55:15 -0500 Subject: [PATCH] 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: https://github.com/nodejs/node/pull/18589 Fixes: https://github.com/nodejs/node/issues/18587 Reviewed-By: Michael Dawson Reviewed-By: James M Snell Reviewed-By: Yuta Hiroto Reviewed-By: Ruben Bridgewater Reviewed-By: Colin Ihrig --- test/parallel/test-http2-session-unref.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/parallel/test-http2-session-unref.js b/test/parallel/test-http2-session-unref.js index e765352cdc615d..e63cd0d208e32b 100644 --- a/test/parallel/test-http2-session-unref.js +++ b/test/parallel/test-http2-session-unref.js @@ -49,5 +49,3 @@ server.listen(0, common.mustCall(() => { })); server.emit('connection', serverSide); server.unref(); - -setTimeout(common.mustNotCall(() => {}), 1000).unref();