Skip to content

Commit 1b2e640

Browse files
authored
[tests] Disable flaky Aspire.Hosting.Tests.SlimTestProgramTests tests (#5640)
* [tests] Disable flaky `Aspire.Hosting.Tests.SlimTestProgramTests` tests Issue: #5637 * disable tests only on windows
1 parent f29be7b commit 1b2e640

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/Aspire.Hosting.Tests/SlimTestProgramTests.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ public SlimTestProgramTests(SlimTestProgramFixture slimTestProgramFixture)
1717
}
1818

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

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

6163
[Fact]
64+
[ActiveIssue("https://github.com/dotnet/aspire/issues/5637", TestPlatforms.Windows)]
6265
public async Task TestPortOnEndpointAnnotationAndAllocatedEndpointAnnotationMatchForReplicatedServices()
6366
{
6467
var testProgram = _slimTestProgramFixture.TestProgram;

0 commit comments

Comments
 (0)