Skip to content

Commit 40b3f24

Browse files
committed
Disable project template tests for .NET 11
1 parent 51bd6c1 commit 40b3f24

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/Microsoft.DotNet.Docker.Tests/TestScenarios/ProjectTemplateTestScenario.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,13 @@ protected string Build(string stageTarget, string[]? customBuildArgs)
117117

118118
public async Task ExecuteAsync()
119119
{
120+
if (ImageData.Version.Major == 11)
121+
{
122+
OutputHelper.WriteLine("Skipping project template test scenario for .NET 11 since project templates are"
123+
+ " not updated yet. Re-enable when https://github.com/dotnet/sdk/issues/50295 is resolved.");
124+
return;
125+
}
126+
120127
List<string> tags = [];
121128

122129
try

0 commit comments

Comments
 (0)