Skip to content

Commit

Permalink
race condition in test
Browse files Browse the repository at this point in the history
  • Loading branch information
timgit committed Dec 3, 2021
1 parent 1f31887 commit 5fbba39
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/workTest.js
Expand Up @@ -412,6 +412,8 @@ describe('work', function () {

boss.stop({ timeout: 1 })

await delay(500)

try {
await boss.work(queue)
assert(false)
Expand Down

0 comments on commit 5fbba39

Please sign in to comment.