Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: work_queue: wait longer for expired triggering items
The test_triggered_wait_expired test submits the items with 2*SUBMIT_WAIT timeout and waits for the timeout to expire so the items are being worked on. It waits one SUBMIT_WAIT and checks none of the items have started. Then waits another SUBMIT_WAIT to check if they have all finished. However, since the timeout is at 2*SUBMIT_WAIT, the work queue may have just started going through the list of items. This means some items may have started while others have not. This results in the test failing as not all items have finished. So lengthen the second sleep to allow items to finish before checking. Fixes #28589 Signed-off-by: Daniel Leung <[email protected]>
- Loading branch information