diff --git a/BASE/Test/ServerTelemetryChannel.Test/TelemetryChannel.Tests/AdaptiveSamplingTelemetryProcessorTest.cs b/BASE/Test/ServerTelemetryChannel.Test/TelemetryChannel.Tests/AdaptiveSamplingTelemetryProcessorTest.cs index 515a677d57..8288ef67b8 100644 --- a/BASE/Test/ServerTelemetryChannel.Test/TelemetryChannel.Tests/AdaptiveSamplingTelemetryProcessorTest.cs +++ b/BASE/Test/ServerTelemetryChannel.Test/TelemetryChannel.Tests/AdaptiveSamplingTelemetryProcessorTest.cs @@ -18,6 +18,7 @@ using Moq; [TestClass] + [TestCategory("WindowsOnly")] // these tests are flaky on linux builds. public class AdaptiveSamplingTelemetryProcessorTest { [TestMethod] diff --git a/BASE/Test/ServerTelemetryChannel.Test/TelemetryChannel.Tests/Implementation/TelemetryBufferTest.cs b/BASE/Test/ServerTelemetryChannel.Test/TelemetryChannel.Tests/Implementation/TelemetryBufferTest.cs index 2045887602..9393f1a18c 100644 --- a/BASE/Test/ServerTelemetryChannel.Test/TelemetryChannel.Tests/Implementation/TelemetryBufferTest.cs +++ b/BASE/Test/ServerTelemetryChannel.Test/TelemetryChannel.Tests/Implementation/TelemetryBufferTest.cs @@ -118,6 +118,7 @@ public void ThrowsArgumentOutOfRangeExceptionWhenNewValueIsLessThanMinimum() // TODO: Test that TelemetryBuffer.Send synchronously clears the buffer to prevent item # 501 from flushing again [TestClass] + [TestCategory("WindowsOnly")] // these tests are flaky on linux builds. public class Send : TelemetryBufferTest { [TestMethod] @@ -161,6 +162,7 @@ public void TelemetryBufferDoesNotGrowBeyondMaxBacklogSize() } [TestMethod] + public void FlushesBufferWhenNumberOfTelemetryItemsReachesMax() { var bufferFlushed = new ManualResetEventSlim();