mstest - TFS2010 integration tests fail on DB connection -


i re-writing tests written in nunit because tfs2010 integrates better mstest.exe completed 70 unit test , tfs build set not deploy website if tests fail, wohooo!!!

now have integration tests tests using database repository on our build server (only used build tests) have 40 tests user repository , if run locally in vs2010 (connecting build db) runs fine. once check in , ci build fires build fails on integration tests. few +-4 tests execute fine , starts : "a network-related or instance-specific error occurred while establishing connection sql server" of tests succeed , fail locally fine.

i idea because mstest multi-threaded numerous tests can start @ same time, correct? without increasing connection pool sql, how going past this?

thank you

jack

have tried putting unit tests concenred in ordered list?

setting test run sequence using ordered tests


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -