-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(test): Adding a test for multiple consumers with the pg backend.
This test is to provide a minimal proof that jobs can be consumed by multiple workers and in a way can only be consumed once. If the execCount does not match the expected count then this test will fail because either too many jobs were executed (like one executing twice) or a job was dropped when it should not have been.
- Loading branch information
1 parent
a17ea73
commit 52e118e
Showing
1 changed file
with
77 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters