Forum Discussion

bwinkler's avatar
bwinkler
Occasional Contributor
11 years ago

Tests timing out on TFS Build


Using the latest version of TestComplete 10.20


Using TFS 2013


 


Using the TFS automated build system to run tests.  Using the following tutorial to help me set everything up:



 


I can successfully get the tests to run.


However after the tests run for 30 minute the Tests Stop.


 


The exact error posted in the build is:


Test 'BeamGage_R1' exceeded execution time-out period.


 


After some searching I found that the 30 minute time out is a default of Visual Studios which can be changed using a test settings file.


 


I add a test settings file to the solution and change the time-outs to be if an individual test exceeds 24 hours or if the total test run exceeds 48 hours.


 


In the build configuration under the Test Area -> Automated tests -> Test Source -> Run settings I then select the test settings I created.


There is also a Type of run settings I have tried Default and UserSpecified.


 


Queue another build. Still run into the 30 minute time-out.


 


I have tried many tweaks to get this to work and no matter what it seems that I still hit the 30 minute time-out.


 


Currently I inherited a working solution to this using using TestComplete 9 and a TFS 2010 server so it should be possible.


I am attempting to update to the new versions for TestComplete and TFS recreating this using the Test Complete 10 and TFS 2013 server and have figured out many issues but the last remaining issue that I can't seem to over come is this time-out problem.

  • bwinkler's avatar
    bwinkler
    Occasional Contributor

    Never did figure out how to change the 30 minute time-out when running tests through tfs build.


     


    I did however find a work around.


     


    Creating a C# application that hooks into the TestComplete com interface made it easy to run the tests.


    The samples in the manual included everything I needed to know about the com interface.


    When creating the build it will let you run a script post build so I created a script that calls the C# application I wrote to run the tests.


    Doing things this way I was successful in getting my tests to run using TFS2013 builds.