This is a migrated thread and some comments may be shown as answers.

Wait for condition has timed out error but test doesn't seem to be running

2 Answers 124 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Shelly
Top achievements
Rank 2
Shelly asked on 27 Jan 2020, 04:23 PM

We use Jenkins to run Test Studio tests against our API following publishes and I'm getting the following error:

1/27/2020 11:04:29 AM' - System.TimeoutException: Wait for condition has timed out\r\n   at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo, Object target)\r\n   at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout, WaitResultType errorResultType)\r\n   at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)\r\n   at ArtOfTest.WebAii.Core.Manager.WaitForBrowserToConnect(Int32 browserIndexToWaitFor)\r\n   at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)\r\n   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InitializeWeb(ExecutionEngineCreateParams initParams)\r\n   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.CreateAndInitializeEngine(Test test, ExecutionEngineCreateParams cp)\r\n   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(ExecuteTestCommand command)\r\n------------------------------------------------------------\r\n'1/27/2020 11:04:29 AM' - Test completed!\r\n

I don't think the tests are running at all. We have logging on the API and it's not logging any attempts that would have been generated by this process. The API is fine when I access it directly and with our applications. This is happening in multiple environments so it's not confined to one API server. I've tried shutting down and restarting the agent, but that didn't help. How can I go about troubleshooting this further?

 

2 Answers, 1 is accepted

Sort by
0
Shelly
Top achievements
Rank 2
answered on 27 Jan 2020, 09:01 PM
We needed to restart the agent as a administrator.
0
Elena
Telerik team
answered on 28 Jan 2020, 03:41 PM

Hello Shelly, 

As far as I understand you managed to resolve the misbehavior providing elevated rights to the agent. Do you experience any further troubles? Do you need any assistance on the topic? 

Please, do not hesitate to get back to me in case of other queries.

Thanks for your cooperation.

Regards,
Elena
Progress Telerik

 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Shelly
Top achievements
Rank 2
Answers by
Shelly
Top achievements
Rank 2
Elena
Telerik team
Share this question
or