From 84f1cfd805c5a502d12468a1ff12f83c2d2d44dd Mon Sep 17 00:00:00 2001 From: Jan Kotas Date: Tue, 20 Apr 2021 17:39:21 -0700 Subject: [PATCH] Fix LatencyRoundtrips test failures 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 d94715987d22ae..2e86776345c43c 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;