Skip to content

Commit cf2c77b

Browse files
authored
[8.0.4xx] Disable Registry Related Containers Tests (#51701)
2 parents ee79973 + 3e1d31f commit cf2c77b

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public CreateImageIndexTests(ITestOutputHelper testOutput)
2222
_testOutput = testOutput;
2323
}
2424

25-
[DockerAvailableFact]
25+
[DockerAvailableFact(Skip = "https://github.com/dotnet/sdk/issues/49502")]
2626
public async Task CreateImageIndex_Baseline()
2727
{
2828
DirectoryInfo newProjectDir = CreateNewProject();

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public CreateNewImageTests(ITestOutputHelper testOutput)
2020
_testOutput = testOutput;
2121
}
2222

23-
[DockerAvailableFact]
23+
[DockerAvailableFact(Skip = "https://github.com/dotnet/sdk/issues/49502")]
2424
public void CreateNewImage_Baseline()
2525
{
2626
DirectoryInfo newProjectDir = new(GetTestDirectoryName());
@@ -69,7 +69,7 @@ private static ImageConfig GetImageConfigFromTask(CreateNewImage task) {
6969
return new(task.GeneratedContainerConfiguration);
7070
}
7171

72-
[DockerAvailableFact]
72+
[DockerAvailableFact(Skip = "https://github.com/dotnet/sdk/issues/49502")]
7373
public void ParseContainerProperties_EndToEnd()
7474
{
7575
DirectoryInfo newProjectDir = new(GetTestDirectoryName());
@@ -132,7 +132,7 @@ public void ParseContainerProperties_EndToEnd()
132132
/// <summary>
133133
/// Creates a console app that outputs the environment variable added to the image.
134134
/// </summary>
135-
[DockerAvailableFact]
135+
[DockerAvailableFact(Skip = "https://github.com/dotnet/sdk/issues/49502")]
136136
public void Tasks_EndToEnd_With_EnvironmentVariable_Validation()
137137
{
138138
DirectoryInfo newProjectDir = new(GetTestDirectoryName());
@@ -215,7 +215,7 @@ public void Tasks_EndToEnd_With_EnvironmentVariable_Validation()
215215
.And.HaveStdOut("Foo");
216216
}
217217

218-
[DockerAvailableFact]
218+
[DockerAvailableFact(Skip = "https://github.com/dotnet/sdk/issues/49502")]
219219
public async System.Threading.Tasks.Task CreateNewImage_RootlessBaseImage()
220220
{
221221
const string RootlessBase ="dotnet/rootlessbase";
@@ -296,7 +296,7 @@ public async System.Threading.Tasks.Task CreateNewImage_RootlessBaseImage()
296296
}
297297

298298

299-
[DockerAvailableFact]
299+
[DockerAvailableFact(Skip = "https://github.com/dotnet/sdk/issues/49502")]
300300
public void CanOverrideContainerImageFormat()
301301
{
302302
DirectoryInfo newProjectDir = new(GetTestDirectoryName());

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public DockerRegistryTests(ITestOutputHelper testOutput)
1717
_loggerFactory = new TestLoggerFactory(testOutput);
1818
}
1919

20-
[DockerAvailableFact]
20+
[DockerAvailableFact(Skip = "https://github.com/dotnet/sdk/issues/49502")]
2121
public async Task GetFromRegistry()
2222
{
2323
var loggerFactory = new TestLoggerFactory(_testOutput);

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1379,7 +1379,7 @@ public void EndToEndMultiArch_Labels()
13791379
[DockerSupportsArchInlineData("linux/386", "linux-x86", "/app", Skip = "There's no apphost for linux-x86 so we can't execute self-contained, and there's no .NET runtime base image for linux-x86 so we can't execute framework-dependent.")]
13801380
[DockerSupportsArchInlineData("windows/amd64", "win-x64", "C:\\app")]
13811381
[DockerSupportsArchInlineData("linux/amd64", "linux-x64", "/app")]
1382-
[DockerAvailableTheory]
1382+
[DockerAvailableTheory(Skip = "https://github.com/dotnet/sdk/issues/49502")]
13831383
public async Task CanPackageForAllSupportedContainerRIDs(string dockerPlatform, string rid, string workingDir)
13841384
{
13851385
ILogger logger = _loggerFactory.CreateLogger(nameof(CanPackageForAllSupportedContainerRIDs));

src/Tests/Microsoft.NET.Build.Containers.UnitTests/DockerDaemonTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public void Dispose()
2525
_loggerFactory.Dispose();
2626
}
2727

28-
[DockerAvailableFact(skipPodman: true)] // podman is a local cli not meant for connecting to remote Docker daemons.
28+
[DockerAvailableFact(skipPodman: true, Skip = "https://github.com/dotnet/sdk/issues/49502")] // podman is a local cli not meant for connecting to remote Docker daemons.
2929
public async Task Can_detect_when_no_daemon_is_running() {
3030
// mimic no daemon running by setting the DOCKER_HOST to a nonexistent socket
3131
try {

0 commit comments

Comments
 (0)