Skip to content

Commit b5e2b38

Browse files
committed
test timing
1 parent e7d31dd commit b5e2b38

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/core.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -831,11 +831,11 @@ describe('Core', () => {
831831
const count1 = await internals.countConnections(server);
832832
expect(count1).to.equal(1);
833833

834-
setTimeout(() => socket.end(), 50);
834+
setTimeout(() => socket.end(), 100);
835835

836836
const timer = new Hoek.Bench();
837-
await server.stop({ timeout: 200 });
838-
expect(timer.elapsed()).to.be.below(150);
837+
await server.stop({ timeout: 400 });
838+
expect(timer.elapsed()).to.be.below(300);
839839
});
840840

841841
it('immediately destroys idle keep-alive connections', async () => {

0 commit comments

Comments
 (0)