Skip to content

Commit ecd83c8

Browse files
Fix stale composeContainerName reference in compose warning test (#1239)
1 parent f1a9a0b commit ecd83c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/testcontainers/src/docker-compose-environment/docker-compose-environment.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ describe("DockerComposeEnvironment", { timeout: 180_000 }, () => {
138138
.withWaitStrategy(unmatchedWaitStrategyName, Wait.forLogMessage("Listening on port 8080"))
139139
.up(["container"]);
140140

141-
await checkEnvironmentContainerIsHealthy(startedEnvironment, await composeContainerName("container"));
141+
await checkEnvironmentContainerIsHealthy(startedEnvironment, "container-1");
142142

143143
const warningMessages = warnSpy.mock.calls.map(([message]) => message);
144144
expect(

0 commit comments

Comments
 (0)