Skip to content

Commit

Permalink
Merge pull request #1040 from AArnott/disableUnstableTests
Browse files Browse the repository at this point in the history
Disable a few tests that fail repeatedly in Azure Pipelines
  • Loading branch information
AArnott authored May 19, 2022
2 parents 6fa310b + 5045ec5 commit 18e3997
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3156,6 +3156,7 @@ public void MitigationAgainstBadSyncContextOnMainThread()
#if ISOLATED_TEST_SUPPORT
[Fact, Trait("Stress", "true")]
[Trait("GC", "true")]
[Trait("TestCategory", "FailsInCloudTest")]
public void SwitchToMainThreadMemoryLeak()
{
if (this.ExecuteInIsolation())
Expand All @@ -3172,6 +3173,7 @@ async delegate

[Fact, Trait("Stress", "true")]
[Trait("GC", "true")]
[Trait("TestCategory", "FailsInCloudTest")]
public void SwitchToMainThreadMemoryLeakWithCancellationToken()
{
if (this.ExecuteInIsolation())
Expand Down Expand Up @@ -3453,6 +3455,7 @@ public void RunAsyncWithYieldingDelegateNestedInRunOverhead()
}

[Fact]
[Trait("TestCategory", "FailsInCloudTest")]
public void SwitchToMainThreadShouldNotLeakJoinableTaskWhenGetResultRunsFirst()
{
WeakReference<object> weakResult = this.SwitchToMainThreadShouldNotLeakJoinableTaskWhenGetResultRunsFirst_Helper();
Expand Down

0 comments on commit 18e3997

Please sign in to comment.