testexec doesn't wait for AUT [message #782339] |
Mon, 23 January 2012 10:06  |
Eclipse User |
|
|
|
Hi,
I have problems with running my suite using testexec. The problem seems to be that our AUT takes some time to start which obviously is too long for testexec. The result is that testexec reports
[...]
Mon Jan 23 15:51:56 CET 2012 Executing Test Suite...
!!Error occurred !!
Could not connect to AUT: MyAUT
If I then (keeping the AUT running) use the -autid parameter for testexec instead of -autconfig and give the AUT some time to settle down before invoking testexec again, everything works as expected.
So my question is: Is it possible to define some timeout for testexec which waits a specified amount of time to let the AUT startup completely?
Best regards,
Andreas
|
|
|
|
|
|
|
|
Re: testexec doesn't wait for AUT [message #782759 is a reply to message #782754] |
Tue, 24 January 2012 06:36  |
Eclipse User |
|
|
|
Hello Alex, Andrea
I think there should more than only a timeout.
If you need three processes for running a test (auagent, autrun, testexec) there sould be a communication model between them, which also covers errors.
1. I for example experienced the Problem, the test exec has an error and exits.
The RCP Application from autrun is still running ... as this a buld machine with many instances running, i dont know which eclipse process to kill.
There is then no proper possibility to stop the from autrun executed rcp.
If i make stopautagent, the rcp from autrun keeps running and I have some undefined states in my environement which is bad.
2. Also if the testexec executes until the end.
- How do i properly deinitialize the autrun ?
- How do i prooerly deinitalize the RCP Application ?
- StopAutAgent only stops the Aut Agent.
Best regards,
Sascha
[Updated on: Tue, 24 January 2012 11:22] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03877 seconds