Friday, November 4, 2011

Run VS2010 Tests in 64 bit process on 64 bit build machine

In VS2010 when the test are executed, it always uses a test settings configuration file. There are lot of settings you can do. We are here interested in “How to run tests in 64 bit process on 64 bit machine?”. 

Step 1: First we need to identify the test settings file that the test project (Team build) uses.

Step 2: Open the test settings (example: LocalTestRun.testsettings) file and highlight/choose “Host”. See the image below

image

Step 3: Choose “Run Tests in 64 bit process on 64 bit machine” from the “Run tests in 32 bit or 64 bit process” dropdown. See the image above.

Step 4: If you like to change the “Test Timeouts” to avoid long running builds (25hrs +), highlight/choose the “Test Timeouts” section. See the image below

image

Step 5: Check the “Abort a test run if its total execution time exceeds” and/or “Mark an individual test as failed if its execution time exceeds” option(s) and type in the desired timeout in minutes/hours.

Step 6: Click apply to save changes and run the tests.

This configuration change might speed up the tests and the test process (QTAgent.exe) might be able to use more than 4GB RAM. So this would avoid any memory limitation on the test run and also the test would timeout the if the tests takes more than the specified timeout.

Hope this helps.

1 comment:

  1. This website can live streaming , you can join at my site :
    agen judi online terpercaya
    Prediksi Bola

    Thank you
    agenpialaeropa.org
    gamesonline.ga
    beritasemasaterikini.com

    ReplyDelete