From 23ec55797804a76025ed8ba2589575102c743f68 Mon Sep 17 00:00:00 2001 From: Ella Hathaway <67609881+ellahathaway@users.noreply.github.com> Date: Mon, 19 Aug 2024 13:37:57 -0700 Subject: [PATCH] Only skip SDK content tests on CBL-Mariner + .NET 6.0 (#5814) --- tests/Microsoft.DotNet.Docker.Tests/SdkImageTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Microsoft.DotNet.Docker.Tests/SdkImageTests.cs b/tests/Microsoft.DotNet.Docker.Tests/SdkImageTests.cs index 912096dcb1..366347b984 100644 --- a/tests/Microsoft.DotNet.Docker.Tests/SdkImageTests.cs +++ b/tests/Microsoft.DotNet.Docker.Tests/SdkImageTests.cs @@ -162,9 +162,9 @@ public void VerifyPowerShellScenario_NonDefaultUser(ProductImageData imageData) [MemberData(nameof(GetImageData))] public async Task VerifyDotnetFolderContents(ProductImageData imageData) { - // Skip test on CBL-Mariner. Since installation is done via RPM package, we just need to verify the package installation + // Skip test on CBL-Mariner with .NET 6.0. Since installation is done via RPM package, we just need to verify the package installation // was done (handled by VerifyPackageInstallation test). There's no need to check the actual contents of the package. - if (imageData.OS.StartsWith(OS.Mariner) || imageData.OS.StartsWith(OS.AzureLinux)) + if (imageData.OS.StartsWith(OS.Mariner) && imageData.Version.Major == 6) { return; }