From 78a0552d1b1d65bae4a215aab5ecdfd7f3ee550d Mon Sep 17 00:00:00 2001 From: Sergiy Kyrylkov Date: Sat, 11 Feb 2023 18:13:51 +0100 Subject: [PATCH] fix: update timeout test --- test/socket-timeout.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/socket-timeout.js b/test/socket-timeout.js index 8019c74198a..4cea001a56c 100644 --- a/test/socket-timeout.js +++ b/test/socket-timeout.js @@ -74,8 +74,8 @@ test('Disable socket timeout', (t) => { server.once('request', (req, res) => { setTimeout(() => { res.end('hello') - }, 31e3) - clock.tick(32e3) + }, 301e3) + clock.tick(302e3) }) t.teardown(server.close.bind(server))