From f88afdbcfcccb8e4e67645ac2cd52f6d2ecea85d Mon Sep 17 00:00:00 2001 From: Cijo Thomas Date: Wed, 15 Feb 2023 23:54:57 +0530 Subject: [PATCH] Disable flaky tests (#1004) --- .../Trace/AutoFlushActivityProcessorTests.cs | 2 +- .../EventCountersMetricsTests.cs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/OpenTelemetry.Extensions.Tests/Trace/AutoFlushActivityProcessorTests.cs b/test/OpenTelemetry.Extensions.Tests/Trace/AutoFlushActivityProcessorTests.cs index 6c2bf6b701..4f279c4410 100644 --- a/test/OpenTelemetry.Extensions.Tests/Trace/AutoFlushActivityProcessorTests.cs +++ b/test/OpenTelemetry.Extensions.Tests/Trace/AutoFlushActivityProcessorTests.cs @@ -26,7 +26,7 @@ namespace OpenTelemetry.Extensions.Tests.Trace; public class AutoFlushActivityProcessorTests { - [Fact] + [Fact(Skip = "Unstable")] public void AutoFlushActivityProcessor_FlushAfterLocalServerSideRootSpans_EndMatchingSpan_Flush() { var mockExporting = new Mock>(); diff --git a/test/OpenTelemetry.Instrumentation.EventCounters.Tests/EventCountersMetricsTests.cs b/test/OpenTelemetry.Instrumentation.EventCounters.Tests/EventCountersMetricsTests.cs index e6f92a6823..3476430c35 100644 --- a/test/OpenTelemetry.Instrumentation.EventCounters.Tests/EventCountersMetricsTests.cs +++ b/test/OpenTelemetry.Instrumentation.EventCounters.Tests/EventCountersMetricsTests.cs @@ -53,7 +53,7 @@ public void EventCounter() Assert.Equal(1997.0202, GetActualValue(metric)); } - [Fact] + [Fact(Skip = "Unstable")] public void IncrementingEventCounter() { // Arrange @@ -81,7 +81,7 @@ public void IncrementingEventCounter() Assert.Equal(3, GetActualValue(metric)); } - [Fact] + [Fact(Skip = "Unstable")] public void PollingCounter() { // Arrange @@ -107,7 +107,7 @@ public void PollingCounter() Assert.Equal(10, GetActualValue(metric)); } - [Fact] + [Fact(Skip = "Unstable")] public void IncrementingPollingCounter() { // Arrange