Skip to content

Commit

Permalink
[Nightly] Only skip SDK content tests on CBL-Mariner + .NET 6.0 (#5814)…
Browse files Browse the repository at this point in the history
… (#5819)
  • Loading branch information
ellahathaway authored Aug 20, 2024
1 parent 199b3d3 commit 7ed9ffa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Microsoft.DotNet.Docker.Tests/SdkImageTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 7ed9ffa

Please sign in to comment.