tag:help.appveyor.com,2012-11-13:/discussions/problems/25272-build-stuck-after-running-testsAppVeyor: Discussion 2020-04-03T18:46:05Ztag:help.appveyor.com,2012-11-13:Comment/477742462019-10-28T07:06:39Z2019-10-28T07:06:41ZBuild stuck after running tests<div><p>Please have a look at this build: <a href="https://ci.appveyor.com/project/arnonax/testessentials">https://ci.appveyor.com/project/arnonax/testessentials</a><br>
I re-ran it few times and it's always get stuck after the tests phase, and fails on timeout after 3 hours.<br>
There's no error message or anything that can indicate what the problem could be. Any help would be appreciated.</p>
<p>Thanks in advance,<br>
Arnon.</p></div>Arnontag:help.appveyor.com,2012-11-13:Comment/477742462019-10-29T17:08:50Z2019-10-29T17:08:50ZBuild stuck after running tests<div><p>Hi Arnon,</p>
<p>Most probably there is some child process (browser, driver, etc.) hanging after the tests are finished which prevents worker to go further to the next step.</p>
<p>As a solution you may try disabling automatic tests discovery and execution, then take that <code>vstest.console</code> command from the log and create a batch file in the root called <code>tests.cmd</code> with that command inside. Then running batch as a test command should do the trick. Let me know if you need any help with doing that.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/477742462019-11-10T16:42:13Z2019-11-10T16:42:14ZBuild stuck after running tests<div><p>Hi Feodor,</p>
<p>I just want to let you know, that after a thorough investigation to find the root cause for this problem, it seems that it was resolved by AppVeyor itself, without me doing any change. I reran the build that was stuck and now it passed.</p>
<p>Thanks anyway,<br>
Arnon.</p></div>Arnon Axelrodtag:help.appveyor.com,2012-11-13:Comment/477742462019-11-11T23:52:05Z2019-11-11T23:52:05ZBuild stuck after running tests<div><p>That's strange, but thanks for the update anyway :)</p></div>Feodor Fitsner