diff --git a/test/integration/ComputeFlow.test.ts b/test/integration/ComputeFlow.test.ts index f2f8cf4d..6485f46c 100644 --- a/test/integration/ComputeFlow.test.ts +++ b/test/integration/ComputeFlow.test.ts @@ -499,6 +499,9 @@ describe('Simple compute tests', async () => { }) it('should restart a computeJob without paying anything, because order is valid and providerFees are still valid', async () => { + // wait some time so the other compute job finishes his job + await sleep(2000) + // we choose the free env const computeEnv = computeEnvs.find((ce) => ce.priceMin === 0) assert(computeEnv, 'Cannot find the free compute env')