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

3 posts, 0 answers
  1. Shelly
    Shelly avatar
    2 posts
    Member since:
    Mar 2013

    Posted 27 Jan Link to this post

    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. Shelly
    Shelly avatar
    2 posts
    Member since:
    Mar 2013

    Posted 27 Jan in reply to Shelly Link to this post

    We needed to restart the agent as a administrator.
  3. Elena
    Admin
    Elena avatar
    1188 posts

    Posted 28 Jan Link to this post

    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!
Back to Top