I implemented a test method using MSTest2, the execution of the test code takes about a minute. This test uses DataTestMethod with DynamicData source. The result of expansion of the dynamic data results in more than a 100 tests. When I run the test in Azure Pipeline, the test times out exactly at 60 minutes. I've tried several options
- Timeout on job
- customRunTimePerBatchValue on the test input.
Neither works! It makes using DataTestMethod useless. Any suggestions of how to fix this?
Regards.
Previously I had mentioned job above when I actually meant Task as that's what I had tried. Putting the timeout on the job seems to fix it.