From adb3f834d61082ffe255728e7f4b5b74c87792ca Mon Sep 17 00:00:00 2001 From: Jan Kotas Date: Tue, 20 Apr 2021 20:05:05 -0700 Subject: [PATCH] Fix LatencyRoundtrips test failures (#51603) Disable the tests for values are not guaranteed to roundtrip depending on the GC settings. We have more extensive test coverage for the latency modes under runtime tests. --- src/libraries/System.Runtime/tests/System/GCTests.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/libraries/System.Runtime/tests/System/GCTests.cs b/src/libraries/System.Runtime/tests/System/GCTests.cs index d94715987d2..2e86776345c 100644 --- a/src/libraries/System.Runtime/tests/System/GCTests.cs +++ b/src/libraries/System.Runtime/tests/System/GCTests.cs @@ -422,8 +422,10 @@ public static void LargeObjectHeapCompactionModeRoundTrips(GCLargeObjectHeapComp [ActiveIssue("https://github.com/dotnet/runtime/issues/31657", TestRuntimes.Mono)] [InlineData(GCLatencyMode.Batch)] [InlineData(GCLatencyMode.Interactive)] - [InlineData(GCLatencyMode.LowLatency)] - [InlineData(GCLatencyMode.SustainedLowLatency)] + // LowLatency does not roundtrip for server GC + // [InlineData(GCLatencyMode.LowLatency)] + // SustainedLowLatency does not roundtrip without background GC + // [InlineData(GCLatencyMode.SustainedLowLatency)] public static void LatencyRoundtrips(GCLatencyMode value) { GCLatencyMode orig = GCSettings.LatencyMode; -- GitLab