I've tried to get an estimate of how long the full suite takes to run,
but I'm having difficulty. I've added the following to my test's pom.xml:
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<version>${tychoVersion}</version>
<configuration>
+ <surefire.timeout>10800</surefire.timeout>
<testSuite>org.jboss.tools.as.test.core</testSuite>
<testClass>org.jboss.tools.as.test.core.ASToolsTestSuite</testClass>
</configuration>
</plugin>
With surefire, the right argument for timeout is
forkedProcessTimeoutInSeconds (
http://www.eclipse.org/tycho/sitedocs/tycho-surefire/tycho-surefire-plugin/test-mojo.html#forkedProcessTimeoutInSeconds
). But with JBIDE-12422,
I made the necessary changes so you don't have to modify pom.xml
anymore to try new timeouts. Passing -Dsurefire.timeout=10800
to command-line will now work (property surefire.timeout is the
default value for forkedProcessTimeoutInSeconds when not set in
configuration). When you think you found a timeout that is fine for
most cases, you can modify the value of the surefire.timeout property
(not argument in tycho-surefire-plugin configure) to the value you
think is the best.That's weird, but I think this issue disappeared with changes for JBIDE-12422If I set the timeout to something large, the suite still shuts off exactly at 42 minutes. If I set the timeout to something small, like 500, it cuts off early as expected. So the problem here seems I can override the setting, but only to make it shorter (??), not longer. If I'm wrong, then I have absolutely no way to explain the current behaviour.