Skip to content

Commit 83a3b8c

Browse files
committed
Disable flakey container registry tests
These tests have a high number of failures documented at (Skip = "#49502"). The registry issue may not be solved until funding is increased or engineering effort is made to handle this case better and not run the tests.
1 parent 9bd796e commit 83a3b8c

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/Tests/Microsoft.NET.Build.Containers.IntegrationTests/EndToEndTests.cs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public void Dispose()
4242
_loggerFactory.Dispose();
4343
}
4444

45-
[DockerAvailableFact]
45+
[DockerAvailableFact(Skip = "https://github.com/dotnet/sdk/issues/49502")]
4646
public async Task ApiEndToEndWithRegistryPushAndPull()
4747
{
4848
ILogger logger = _loggerFactory.CreateLogger(nameof(ApiEndToEndWithRegistryPushAndPull));
@@ -89,7 +89,7 @@ public async Task ApiEndToEndWithRegistryPushAndPull()
8989
}
9090
}
9191

92-
[DockerAvailableFact]
92+
[DockerAvailableFact(Skip = "https://github.com/dotnet/sdk/issues/49502")]
9393
public async Task ApiEndToEndWithLocalLoad()
9494
{
9595
ILogger logger = _loggerFactory.CreateLogger(nameof(ApiEndToEndWithLocalLoad));
@@ -130,7 +130,7 @@ public async Task ApiEndToEndWithLocalLoad()
130130
}
131131
}
132132

133-
[DockerAvailableFact]
133+
[DockerAvailableFact(Skip = "https://github.com/dotnet/sdk/issues/49502")]
134134
public async Task ApiEndToEndWithArchiveWritingAndLoad()
135135
{
136136
ILogger logger = _loggerFactory.CreateLogger(nameof(ApiEndToEndWithArchiveWritingAndLoad));
@@ -180,7 +180,7 @@ public async Task ApiEndToEndWithArchiveWritingAndLoad()
180180
}
181181
}
182182

183-
[DockerAvailableFact]
183+
[DockerAvailableFact(Skip = "https://github.com/dotnet/sdk/issues/49502")]
184184
public async Task TarballsHaveCorrectStructure()
185185
{
186186
var archiveFile = Path.Combine(TestSettings.TestArtifactsDirectory,
@@ -351,7 +351,7 @@ private string BuildLocalApp([CallerMemberName] string testName = "TestName", st
351351
return publishDirectory;
352352
}
353353

354-
[DockerAvailableFact]
354+
[DockerAvailableFact(Skip = "https://github.com/dotnet/sdk/issues/49502")]
355355
public async Task EndToEnd_MultiProjectSolution()
356356
{
357357
ILogger logger = _loggerFactory.CreateLogger(nameof(EndToEnd_MultiProjectSolution));
@@ -441,7 +441,7 @@ public async Task EndToEnd_MultiProjectSolution()
441441
/// It's safe to load the target for libraries in a multi-targeted context because libraries don't have EnableSdkContainerSupport
442442
/// enabled by default, so the target will be skipped.
443443
/// </summary>
444-
[DockerAvailableFact]
444+
[DockerAvailableFact(Skip = "https://github.com/dotnet/sdk/issues/49502")]
445445
public async Task EndToEnd_MultiProjectSolution_with_multitargeted_library()
446446
{
447447
ILogger logger = _loggerFactory.CreateLogger(nameof(EndToEnd_MultiProjectSolution_with_multitargeted_library));
@@ -509,7 +509,7 @@ public async Task EndToEnd_MultiProjectSolution_with_multitargeted_library()
509509
commandResult.Should().HaveStdOutContaining("Pushed image 'webapp:latest'");
510510
}
511511

512-
[DockerAvailableTheory()]
512+
[DockerAvailableTheory(Skip = "https://github.com/dotnet/sdk/issues/49502")]
513513
[InlineData("webapi", false)]
514514
[InlineData("webapi", true)]
515515
[InlineData("worker", false)]
@@ -685,7 +685,7 @@ public async Task EndToEnd_NoAPI_ProjectType(string projectType, bool addPackage
685685
privateNuGetAssets.Delete(true);
686686
}
687687

688-
[DockerAvailableFact]
688+
[DockerAvailableFact(Skip = "https://github.com/dotnet/sdk/issues/49502")]
689689
public void EndToEnd_NoAPI_Console()
690690
{
691691
DirectoryInfo newProjectDir = new DirectoryInfo(Path.Combine(TestSettings.TestArtifactsDirectory, "CreateNewImageTest"));
@@ -766,7 +766,7 @@ public void EndToEnd_NoAPI_Console()
766766
privateNuGetAssets.Delete(true);
767767
}
768768

769-
[DockerAvailableFact]
769+
[DockerAvailableFact(Skip = "https://github.com/dotnet/sdk/issues/49502")]
770770
public void EndToEnd_SingleArch_NoRid()
771771
{
772772
// Create a new console project
@@ -858,7 +858,7 @@ public void EndToEndMultiArch_LocalRegistry(string imageName)
858858
newProjectDir.Delete(true);
859859
}
860860

861-
[DockerAvailableFact]
861+
[DockerAvailableFact(Skip = "https://github.com/dotnet/sdk/issues/49502")]
862862
public void MultiArchStillAllowsSingleRID()
863863
{
864864
string imageName = NewImageName();
@@ -910,7 +910,7 @@ public void MultiArchStillAllowsSingleRID()
910910
newProjectDir.Delete(true);
911911
}
912912

913-
[DockerAvailableFact]
913+
[DockerAvailableFact(Skip = "https://github.com/dotnet/sdk/issues/49502")]
914914
public void MultiArchStillAllowsSingleRIDUsingJustRIDProperties()
915915
{
916916
string imageName = NewImageName();
@@ -1430,7 +1430,7 @@ static string[] DecideEntrypoint(string rid, string appName, string workingDir)
14301430
}
14311431
}
14321432

1433-
[DockerAvailableFact]
1433+
[DockerAvailableFact(Skip = "https://github.com/dotnet/sdk/issues/49502")]
14341434
public async void CheckDownloadErrorMessageWhenSourceRepositoryThrows()
14351435
{
14361436
var loggerFactory = new TestLoggerFactory(_testOutput);

0 commit comments

Comments
 (0)