[jbosstools-issues] [JBoss JIRA] (JBIDE-13797) JobUtils.delay method handles delay trough Display instance even when tests are running in core mode

Denis Golovin (JIRA) jira-events at lists.jboss.org
Fri Mar 15 18:54:42 EDT 2013


     [ https://issues.jboss.org/browse/JBIDE-13797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Denis Golovin updated JBIDE-13797:
----------------------------------

    Fix Version/s: 4.1.0.Alpha2

    
> JobUtils.delay method handles delay trough Display instance even when tests are running in core mode
> ----------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-13797
>                 URL: https://issues.jboss.org/browse/JBIDE-13797
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: testing-tools
>    Affects Versions: 4.1.0.Alpha2
>            Reporter: Denis Golovin
>            Assignee: Denis Golovin
>             Fix For: 4.1.0.Alpha2
>
>
> 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()
> {code}
>                          <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>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list