Skip to main content



      Home
Home » Eclipse Projects » RCP Testing Tool » How to set testExecTimeout in RCPTT runner script(GIT CI/CT test cases are failing due to Timeout issue (300 Sec))
How to set testExecTimeout in RCPTT runner script [message #1837399] Fri, 29 January 2021 06:03 Go to next message
Eclipse UserFriend
In RCPTT IDE these options can be set by going to Preferences -> RCP Testing Tool -> Advanced Options we are able to set testExecTimeout.

Default timeout is 300 Sec and we can change the same to increase the value.

we are trying to use the RCPTT Runner script for GIT CI/CT.

used runner.cmd sample CMD script for Windows (https://www.eclipse.org/rcptt/documentation/userguide/runner/arguments/)

Via RCPTT GIT runner script unable to set any argument to change the TIMEOUT.

It will be appreciated if anybody knows how to set the testExecTimeout via script.
Re: How to set testExecTimeout in RCPTT runner script [message #1837435 is a reply to message #1837399] Fri, 29 January 2021 15:20 Go to previous message
Eclipse UserFriend
You could try below to increase each test case time out to 600 second
Sample as you mention: "used runner.cmd sample CMD script for Windows (https://www.eclipse.org/rcptt/documentation/userguide/runner/arguments/)"

SET testOptions="testExecTimeout=4800";"testExecTimeout=600"

java -jar %RUNNER%/plugins/org.eclipse.equinox.launcher_1.5.*.jar ^
-application org.eclipse.rcptt.runner.headless ^
-data %RESULTS%/runner-workspace/ ^
-aut %AUT% ^
-autWsPrefix %RESULTS%/aut-workspace ^
-autConsolePrefix %RESULTS%/aut-output ^
-htmlReport %RESULTS%/report.html ^
-junitReport %RESULTS%/report.xml ^
-testOptions %testOptions% ^
-import %PROJECT%

Hope it help.
Previous Topic:Scripting Help Check for Updates
Next Topic:Cancel progress dialog
Goto Forum:
  


Current Time: Fri Apr 18 10:41:47 EDT 2025

Powered by FUDForum. Page generated in 0.03218 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top