-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.0.0-beta6 force stop endless loop test - cleanup #1144
Comments
Normal stop (Stop button) is passed to the agent and it's actual test runner. It gets the message and stops staging any more tests. Then it waits for all running tests to finish. A test in an infinite loop, of course, never finishes. After waiting a while, it gives up. The GUI, not receiving a notification that the run has stopped, displays the kill button. Clicking it causes a forced stop, which is also passed to the agent. The agent then exits the process, never sending a notification. So there are several problems here...
@rowo360 This is probably multiple issues. So far you have only worked in the GUI (item 2) but I'm happy to support you if you want to explore these new areas. I'm also happy to take on any pieces of this. Items 1 and 3 probably reside in TestCentric.Agent.Core, the common code for all agents. |
@MartinZec Was this a problem in the beta5 release? @rowo360 It would also be useful if we could identify an easy temporary fix for the GUI, while waiting for anything to be done in the other projects, However, I wouldn't be opposed to doing it all and making a new beta release. |
@CharliePoole I did not check the beta5 release up to now. I just downgraded beta6 to beta5 and see the same behavior there. |
@rowo360 Todo...
This issue will need to stay in process until TestCentric.Agent.Core is fixed and all agents are updated to use that fix. I'm making it a low priority for that reason, although the issue itself is quite important. I'll bump up the priority after those other fixes are in. |
@rowo360 Can you make this run correctly by changing anything in the example project? |
I'm back from vacation and continued to work on this issue: User point of view: Technical point of view: |
Hello,
I forced to stop a endless loop in a test.
After it is sopped, I can execute the test again but I cannot stop it anymore because the stop button is grayed out.
In case I close the GUI, it tells me that a test is currently running.
The endless while loop is also preventing logs.
In case endless loop is removed logs are shown at text output:
"=> name1.name2.name3_1.name3_1.test1
test1test2test3"
Start and end time are wrong displayed in case of a forced stop.
Can be reproduced with attached example project.
Solution1.zip
Best regards,
Martin
The text was updated successfully, but these errors were encountered: