Tests running with in-assembly-parallelization run by default in MTA where-as the default for a non-parallelized run is STA. We would want this default to be the same irrespective of a parallel run.
Workaround
A user can add an STATestClass/STATestMethod to ensure their tests requiring STA run in it. These attributes are part of MSTest.STAExtensions
Description
Tests running with in-assembly-parallelization run by default in MTA where-as the default for a non-parallelized run is STA. We would want this default to be the same irrespective of a parallel run.
Workaround
A user can add an STATestClass/STATestMethod to ensure their tests requiring STA run in it. These attributes are part of MSTest.STAExtensions