Skip to content

Commit

Permalink
Fix failing flacky test
Browse files Browse the repository at this point in the history
  • Loading branch information
mdubus committed Sep 20, 2023
1 parent c9fa405 commit 494e45c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/task.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ describe.each([{ permission: 'Master' }, { permission: 'Admin' }])(
const { taskUid } = await client
.index(index.uid)
.addDocuments([{ id: 1 }])
await sleep(2) // in ms
await sleep(1000) // in ms

const currentTimeStamp = Date.now()
const currentTime = new Date(currentTimeStamp)
Expand Down

0 comments on commit 494e45c

Please sign in to comment.