-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve test isolation and performance of BeginEndRuleTests #725
Several test cases in BeginEndRuleTests cannot successfully be executed standalone. When starting a test environment, i.e., a workspace, several jobs are running on startup. These jobs trigger the JobChangeAdapter registered in some test cases, which does not properly filter the events and leads to faulty test results. In addition, the test cases rely on sleep operations, which waste execution time and at the same time are prone to fail randomly. This change rewrite the according test cases: - Corrects job event filtering for proper test isolation - Replaces sleep operations with join operation on jobs and barriers to improve performance and reduce the risk of random failures - Improves assertions and their messages Fixes #725.
- Loading branch information
1 parent
6b9f8a0
commit 4d65c67
Showing
1 changed file
with
65 additions
and
36 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