From: Mike McLaughlin Date: Wed, 27 Oct 2021 18:34:32 +0000 (-0700) Subject: Disable failing DebugServicesTests (#2710) X-Git-Tag: submit/tizen/20220302.040122~18^2^2~36 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=68a1a5488d65c923f02c215c3369488abb6216dd;p=platform%2Fcore%2Fdotnet%2Fdiagnostics.git Disable failing DebugServicesTests (#2710) --- diff --git a/src/tests/Microsoft.Diagnostics.DebugServices.UnitTests/DebugServicesTests.cs b/src/tests/Microsoft.Diagnostics.DebugServices.UnitTests/DebugServicesTests.cs index b744b86df..dedd8c17e 100644 --- a/src/tests/Microsoft.Diagnostics.DebugServices.UnitTests/DebugServicesTests.cs +++ b/src/tests/Microsoft.Diagnostics.DebugServices.UnitTests/DebugServicesTests.cs @@ -65,6 +65,10 @@ namespace Microsoft.Diagnostics.DebugServices.UnitTests [SkippableTheory, MemberData(nameof(GetConfigurations))] public void ModuleTests(TestHost host) { + if (OS.Kind == OSKind.Windows) + { + throw new SkipTestException("Test unstable on Windows. Issue: https://github.com/dotnet/diagnostics/issues/2709"); + } var moduleService = host.Target.Services.GetService(); Assert.NotNull(moduleService); @@ -256,7 +260,11 @@ namespace Microsoft.Diagnostics.DebugServices.UnitTests IRuntime runtime = runtimeService.EnumerateRuntimes().FirstOrDefault((r) => r.Id == id); Assert.NotNull(runtime); - runtimeData.CompareMembers(runtime); + // Issue: https://github.com/dotnet/diagnostics/issues/2709 + if (OS.Kind != OSKind.Windows) + { + runtimeData.CompareMembers(runtime); + } ClrInfo clrInfo = runtime.Services.GetService(); Assert.NotNull(clrInfo);