-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[test] Fix unreliable LockedModelExplorerTest
The test "testRefreshJobForModelExplorerView()" of "org.eclipse.sirius.tests.swtbot.modelexplorer.LockedModelExplorerTest" has failed at least once on a CI server with this stack: ``` junit.framework.AssertionFailedError: The job should be scheduled as one lock notification has been send and ModelExplorer view is opened. at junit.framework.Assert.fail(Assert.java:57) at junit.framework.Assert.assertTrue(Assert.java:22) at junit.framework.TestCase.assertTrue(TestCase.java:192) at org.eclipse.sirius.tests.swtbot.modelexplorer.LockedModelExplorerTest.testRefreshJobForModelExplorerView(LockedModelExplorerTest.java:132) ``` Maybe the job has not been scheduled before test on "refreshJobScheduled". The "wait until condition" should solve this random case.
- Loading branch information
Showing
1 changed file
with
20 additions
and
7 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