Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 11:03 Go to next message
Sarang Kher is currently offline Sarang KherFriend
Messages: 1
Registered: January 2021
Junior Member
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 20:20 Go to previous message
hung vu is currently offline hung vuFriend
Messages: 2
Registered: December 2020
Junior Member
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 May 03 21:02:11 GMT 2024

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

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

Back to the top