-
Enhancement
-
Resolution: Done
-
Major
-
4.1.0.Alpha2
-
None
Display.getCurrent() returns not null value even when tests are executed in core mode with configuration below. It means displatInstance.sleep() not always returns control back to test. Solution is additiona check if workbench is actually running and if it is not using alternative option Thread.sleep()
<plugin> <groupId>org.eclipse.tycho</groupId> <artifactId>tycho-surefire-plugin</artifactId> <version>${tychoVersion}</version> <configuration> <useUIHarness>false</useUIHarness> <useUIThread>false</useUIThread> <testSuite>org.jboss.tools.as.test.core</testSuite> <testClass>${asCoreTestSuite}</testClass> </configuration> </plugin>