Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unflake BoltSchedulerShouldReportFailureWhenBusyIT
It used to fail sometimes because bolt server rejected incoming messages. They were rejected because server did not have free threads to process them. It might take some time for a thread to get returned to the thread pool after the previous task is executed. This commit makes the test retry finite amount of time on message rejection. It also adds increasing sleeps between messages with every retry.
- Loading branch information
Showing
1 changed file
with
69 additions
and
21 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