Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix race condition in WorkbenchPluginTest #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 #1891
- Loading branch information