Skip to content

Commit 183bd01

Browse files
committed
disambiguate container names
1 parent 72ede50 commit 183bd01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ public async Task EndToEnd_NoAPI_ProjectType(string projectType, bool addPackage
272272
}
273273

274274
string imageName = NewImageName();
275-
string imageTag = $"1.0-{projectType}";
275+
string imageTag = $"1.0-{projectType}-{addPackageReference}";
276276

277277
// Build & publish the project
278278
CommandResult commandResult = new DotnetCommand(
@@ -304,7 +304,7 @@ public async Task EndToEnd_NoAPI_ProjectType(string projectType, bool addPackage
304304
.Execute()
305305
.Should().Pass();
306306

307-
var containerName = "test-container-1";
307+
var containerName = $"test-container-1-{projectType}-{addPackageReference}";
308308
CommandResult processResult = ContainerCli.RunCommand(
309309
_testOutput,
310310
"--rm",

0 commit comments

Comments
 (0)