Skip to content

Commit

Permalink
disable these tests on linux (#2298)
Browse files Browse the repository at this point in the history
  • Loading branch information
TimothyMothra authored Jun 3, 2021
1 parent 11c9dfa commit 93577d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
using Moq;

[TestClass]
[TestCategory("WindowsOnly")] // these tests are flaky on linux builds.
public class AdaptiveSamplingTelemetryProcessorTest
{
[TestMethod]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -161,6 +162,7 @@ public void TelemetryBufferDoesNotGrowBeyondMaxBacklogSize()
}

[TestMethod]

public void FlushesBufferWhenNumberOfTelemetryItemsReachesMax()
{
var bufferFlushed = new ManualResetEventSlim();
Expand Down

0 comments on commit 93577d8

Please sign in to comment.