From: liuwenzhe Date: Thu, 21 May 2020 07:40:12 +0000 (+0800) Subject: [test] fix tests X-Git-Tag: 1.1.0~4^2 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=32d490eb1874ead53a91217ff745512e97443fc3;p=poolifier.git [test] fix tests --- diff --git a/tests/fixed.test.js b/tests/fixed.test.js index b591c54c..2ed97444 100644 --- a/tests/fixed.test.js +++ b/tests/fixed.test.js @@ -62,7 +62,7 @@ describe('Fixed thread pool test suite ', () => { const usedTime = new Date().getTime() - startTime expect(result).toBeTruthy() expect(result.f).toBe(data.f) - expect(usedTime).toBeGreaterThan(2000) + expect(usedTime).toBeGreaterThanOrEqual(2000) }) it('Shutdown test', async () => {