From d9f1a68a9e4a190ca195031479772706011b6565 Mon Sep 17 00:00:00 2001 From: Eran Hammer Date: Mon, 4 Feb 2019 23:18:38 -0800 Subject: [PATCH] Fix test timing --- test/core.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/core.js b/test/core.js index 3de7bc08f..087867cd0 100755 --- a/test/core.js +++ b/test/core.js @@ -780,8 +780,8 @@ describe('Core', () => { expect(count1).to.equal(2); const timer = new Hoek.Bench(); - await server.stop({ timeout: 20 }); - expect(timer.elapsed()).to.be.at.most(21); + await server.stop({ timeout: 100 }); + expect(timer.elapsed()).to.be.at.most(110); }); it('waits to destroy handled connections until after the timeout', async () => {