Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [swtbot-dev] swtbot-dev Digest, Vol 60, Issue 10

Nope. We have the useUIThread as set to false in the pom as below,

<build>
    <plugins>
      <plugin>
        <groupId>org.eclipse.tycho</groupId>
        <artifactId>tycho-surefire-plugin</artifactId>
        <version>${tycho-version}</version>
        <configuration>
          <includes>
            <include>**/ISDKUITestSuite.java</include>            
          </includes>
          <useUIHarness>true</useUIHarness>
          <useUIThread>false</useUIThread>
 <product>org.eclipse.sdk.ide</product>
          <application>org.eclipse.ui.ide.workbench</application>
        </configuration>
      </plugin>
    </plugins>
  </build>

Best Regards,
Melwyn Jensen.


On Tue, Jan 7, 2014 at 5:55 PM, Mickael Istria <mistria@xxxxxxxxxx> wrote:
On 01/06/2014 03:32 PM, melwyn jensen wrote:
Hi All,

Just found the root cause of jenkins build hanging issue with swtbot. Whenever the test executes the step where it gets a new popup window the entire testcase hangs at that instant. For eg. We have an option as delete in the eclipse plugin and when clicked it opens a confirmation window asking for "Confirm delete" but now that window doesn't seem to show up at all cause it hangs when the option delete is selected. The same happens with all the confirmation, error etc.. dialog boxes..

Any idea why this is happening? Can someone please help to figure out this root cause now?
Could it be that you're running tests in UI Thread?
* http://wiki.eclipse.org/SWTBot/UsersGuide#Getting_started_with_SWTBot
* http://wiki.eclipse.org/SWTBot/FAQ#Why_do_tests_run_on_a_non-UI_thread.3F
--
Mickael Istria
Eclipse developer at JBoss, by Red Hat
My blog - My Tweets



--
Best Regards,
Melwyn Jensen.

Back to the top