locked
WebServiceHelper.TryUrlRedirection Returns False RRS feed

  • Question

  • I'm having a problem with the WebServiceHelper in my tests.  When I run each individual test they all work fine, and I can also run the entire class and all is well.  When I run all the tests in the solution the first time it hits one of these tests that test will fail because the TryUrlRedirection returns false (I have an Assert.IsTrue around it).  I have found that if I change my test settings to only allow one test at a time I won't ever have this problem but when I set parallelTestCount to zero (meaning use all that are available, in my case 2) the problem occurs with every run.  It's not a general parallelization problem because it will work when it's just that class running more than one test in parallel.  Could this be a problem with the test framework?  I've tried all kinds of hack solutions but none of them work.
    Tuesday, November 30, 2010 10:16 PM