|Testexec hangs if unable to connect to AUT [message #998582]
||Thu, 10 January 2013 09:49
| Lars Ostling
Registered: September 2012
I'm preparing my Jubula test setup for running it in Hudson. I have created a script that performs all the necessary steps from installing eclipse and the plugin I'm testing, adding the rcp-support, importing my jubula tests from my hg repository to the db, starting the autagent, launching the AUT using autrun and then running the tests using testexec. This all usually works fine but the problem I have is when testexec, for one reason or the other, fails to connect to my running AUT. It then seems like the testexec tool just hangs, I would have preferred it to just fail the tests and exit. So I have a few questions:
What is the logic of the testexec tool when it fails to connect to the AUT? Should it exit? Will it retry the connection? Is there a configuration to have it exit after some timeout?
Reason for asking is that if the tool just hangs there it interferes with the execution of our other hudson jobs.
(I guess a possible workaround would be to configure some husdon plugin to just kill the job if it takes to long.)
Powered by FUDForum
. Page generated in 0.04244 seconds