Commit af7cdc3
committed
Fix race condition in WorkbenchPluginTest eclipse-platform#1891
Test test case testGetImageRegistryFromAdditionalDisplay() in
org.eclipse.ui.tests.api.WorkbenchPluginTest randomly fails because of a
race condition. A display is initialized in another thread, but the
initialization logic may access the value before it has actually been
set by the other thread. This is fixed by reordering the instructions.
Fixes eclipse-platform#18911 parent 30bc1dc commit af7cdc3
File tree
1 file changed
+1
-1
lines changed- tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/api
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
77 | 76 | | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
0 commit comments