Mar 14, 2022
0
Level 2
Testing Job Order with priorities
Hello community,
Is there an elegant way to test the order the Job Queue is processing?
Let's say I have Job1->onQueue('1'), Job2->onQueue('2') ... JobN->onQueue('N') and I want to write a test, which checks if these Jobs are executed in the following queue order:
- Job1
- Job2
- Job3
when the queue is filled in this order:
- Job2
- Job1
- Job3
Thanks
Please or to participate in this conversation.