[test] fix tests
[poolifier.git] / tests / fixed.test.js
index b591c54c64f0a3e7e3664a16898569e66a1328ea..2ed97444bdb94a98f793f1833d027c0070f4b14b 100644 (file)
@@ -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 () => {