[
https://jira.jboss.org/browse/JBIDE-6582?page=com.atlassian.jira.plugin.s...
]
Vlado Pakan commented on JBIDE-6582:
------------------------------------
Command used to run SWTBot test is:
/bin/sh -c cd
/mnt/hudson_workspace/workspace/jbosstools-drools-5.2/sources/tests/org.jboss.tools.drools.ui.bot.test
&& /qa/tools/opt/jdk1.6.0_20/jre/bin/java -Dosgi.noShutdown=false -Dosgi.os=linux
-Dosgi.ws=gtk -Dosgi.arch=x86 -Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=256m
-Dusage_reporting_enabled=false -jar
/mnt/hudson_workspace/workspace/jbosstools-drools-5.2/m2-repository/p2/osgi/bundle/org.eclipse.equinox.launcher/1.1.0.v20100507/org.eclipse.equinox.launcher-1.1.0.v20100507.jar
-data
/mnt/hudson_workspace/workspace/jbosstools-drools-5.2/sources/tests/org.jboss.tools.drools.ui.bot.test/target/work/data
-dev
file:/mnt/hudson_workspace/workspace/jbosstools-drools-5.2/sources/tests/org.jboss.tools.drools.ui.bot.test/target/dev.properties
-install
/mnt/hudson_workspace/workspace/jbosstools-drools-5.2/sources/tests/org.jboss.tools.drools.ui.bot.test/target/work
-configuration
/mnt/hudson_workspace/workspace/jbosstools-drools-5.2/sources/tests/org.jboss.tools.drools.ui.bot.test/target/work/configuration
-application org.sonatype.tycho.surefire.osgibooter.uitest -testproperties
/mnt/hudson_workspace/workspace/jbosstools-drools-5.2/sources/tests/org.jboss.tools.drools.ui.bot.test/target/surefire.properties
-testApplication org.eclipse.ui.ide.workbench -product org.eclipse.sdk.ide
But SWTBot test should be run with command like this:
$ $JAVA_HOME/bin/java \
-Xms256M -Xmx768M -XX:MaxPermSize=512M \
-classpath $ECLIPSE_HOME/plugins/org.eclipse.equinox.launcher_1.0.200.v20090128-1500.jar
\
org.eclipse.core.launcher.Main \
-application org.eclipse.swtbot.eclipse.junit4.headless.swtbottestapplication \
-testApplication $TEST_APPLICATION_ID
-product $TEST_PRODUCT_ID \ # optional, only if you're working with a product
-data $WORKSPACE \
formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,$ECLIPSE_HOME/$TEST_CLASS.xml
\
formatter=org.apache.tools.ant.taskdefs.optional.junit.PlainJUnitResultFormatter \
-testPluginName $TEST_PLUGIN_ID \
-className $TEST_CLASS \
-os $OS -ws $WS -arch $ARCH \
-consoleLog -debug
Should we change build to call this command?
org.jboss.tools.drools.ui.bot.test takes more than 15 mins - split
into smaller pieces?
---------------------------------------------------------------------------------------
Key: JBIDE-6582
URL:
https://jira.jboss.org/browse/JBIDE-6582
Project: Tools (JBoss Tools)
Issue Type: Sub-task
Components: drools
Reporter: Nick Boldt
Assignee: Vlado Pakan
Fix For: 3.2.0.CR1
Original Estimate: 0 minutes
Remaining Estimate: 0 minutes
[ERROR] Failed to execute goal org.sonatype.tycho:maven-osgi-test-plugin:0.9.0:test
(default-test) on project org.jboss.tools.drools.ui.bot.test: Error while executing
platform: Error while executing external command, process killed. Process timeout out
after 900 seconds -> [Help 2]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal
org.sonatype.tycho:maven-osgi-test-plugin:0.9.0:test (default-test) on project
org.jboss.tools.drools.ui.bot.test: Error while executing platform
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:141)
Does this test need more time? Can it be split into smaller pieces?
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira