Skip to content

Commit

Permalink
[tests] Disable flaky Aspire.Hosting.Tests.SlimTestProgramTests tes…
Browse files Browse the repository at this point in the history
…ts (dotnet#5640)

* [tests] Disable flaky `Aspire.Hosting.Tests.SlimTestProgramTests` tests

Issue: dotnet#5637

* disable tests only on windows
  • Loading branch information
radical committed Sep 11, 2024
1 parent f0ab1b9 commit 3a51d6b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/Aspire.Hosting.Tests/SlimTestProgramTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ public SlimTestProgramTests(SlimTestProgramFixture slimTestProgramFixture)
}

[Fact]
[ActiveIssue("https://github.com/dotnet/aspire/issues/5637", TestPlatforms.Windows)]
public async Task TestProjectStartsAndStopsCleanly()
{
var testProgram = _slimTestProgramFixture.TestProgram;
Expand All @@ -41,6 +42,7 @@ private static async Task EnsureServicesAreRunning(TestProgram testProgram, Canc
}

[Fact]
[ActiveIssue("https://github.com/dotnet/aspire/issues/5637", TestPlatforms.Windows)]
public async Task TestPortOnEndpointAnnotationAndAllocatedEndpointAnnotationMatch()
{
var testProgram = _slimTestProgramFixture.TestProgram;
Expand All @@ -59,6 +61,7 @@ public async Task TestPortOnEndpointAnnotationAndAllocatedEndpointAnnotationMatc
}

[Fact]
[ActiveIssue("https://github.com/dotnet/aspire/issues/5637", TestPlatforms.Windows)]
public async Task TestPortOnEndpointAnnotationAndAllocatedEndpointAnnotationMatchForReplicatedServices()
{
var testProgram = _slimTestProgramFixture.TestProgram;
Expand Down

0 comments on commit 3a51d6b

Please sign in to comment.