Open
Description
Found on #65628 which runs tests in a random order.
Random test failure with v8/linux, but seems to be reliably reproducible with XUNIT_RANDOM_ORDER_SEED=1883302047
:
[03:29:54] info: Starting: System.Runtime.Numerics.Tests.dll
[03:29:58] fail: [FAIL] System.Numerics.Tests.cast_toTest.RunDoubleExplicitCastToBigIntegerTests
[03:29:58] info: Assert.Equal() Failure
[03:29:58] info: ↓ (pos 0)
[03:29:58] info: Expected: -0
[03:29:58] info: Actual: 0
[03:29:58] info: ↑ (pos 0)
[03:29:58] info: at System.Numerics.Tests.cast_toTest.VerifyDoubleExplicitCastToBigInteger(Double value)
[03:29:58] info: at System.Numerics.Tests.cast_toTest.RunDoubleExplicitCastToBigIntegerTests()
[03:29:58] info: at System.Reflection.RuntimeMethodInfo.InvokeWorker(Object obj, BindingFlags invokeAttr, Span`1 parameters)
To test it with that PR, make sure to <XUnitUseRandomizedTestOrderer>false</XUnitUseRandomizedTestOrderer>
from the csproj.