Skip to content

Commit

Permalink
[wasm] Run System.Runtime tests in a deterministic order to work around
Browse files Browse the repository at this point in the history
  • Loading branch information
vargaz authored Sep 28, 2022
1 parent cdb6e1d commit 68593dd
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 68593dd

Please sign in to comment.