diff options
author | Zoltan Varga <vargaz@gmail.com> | 2022-09-28 12:18:20 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-28 12:18:20 +0300 |
commit | 68593dd718390853b4c74dc1d79906390aaf1589 (patch) | |
tree | 70ac0e76701e9442147bcfe584d3f7efcbaace41 /src/libraries | |
parent | cdb6e1d5f9075214c8a58ca75d5314b5dc64daed (diff) |
[wasm] Run System.Runtime tests in a deterministic order to work around https://github.com/dotnet/runtime/issues/74302. (#76287)
Diffstat (limited to 'src/libraries')
-rw-r--r-- | src/libraries/System.Runtime/tests/System.Runtime.Tests.csproj | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libraries/System.Runtime/tests/System.Runtime.Tests.csproj b/src/libraries/System.Runtime/tests/System.Runtime.Tests.csproj index 91d560c81a8..340550dd759 100644 --- a/src/libraries/System.Runtime/tests/System.Runtime.Tests.csproj +++ b/src/libraries/System.Runtime/tests/System.Runtime.Tests.csproj @@ -16,6 +16,12 @@ <WithoutCategories Condition="'$(EnableAdditionalTimezoneChecks)' != 'true'">$(WithoutCategories);AdditionalTimezoneChecks</WithoutCategories> </PropertyGroup> + <PropertyGroup Condition="'$(TargetOS)' == 'Browser'"> + <!-- Workaround for https://github.com/dotnet/runtime/issues/74302 --> + <XUnitUseRandomizedTestOrderer>true</XUnitUseRandomizedTestOrderer> + <WasmXHarnessMonoArgs>--setenv=XUNIT_RANDOM_ORDER_SEED=1</WasmXHarnessMonoArgs> + </PropertyGroup> + <ItemGroup> <RdXmlFile Include="default.rd.xml" /> </ItemGroup> |