Skip to content

Commit e307558

Browse files
committed
Fix wait strategy test
1 parent bf01208 commit e307558

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/testcontainers/src/wait-strategies/host-port-wait-strategy.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ describe("HostPortWaitStrategy", { timeout: 180_000 }, () => {
2020
.withExposedPorts(8081)
2121
.withStartupTimeout(0)
2222
.start()
23-
).rejects.toThrowError(/Port \d+ not bound after 0ms/);
23+
).rejects.toThrowError(/Port (?:\d+|\d+\/\w+) not bound after 0ms/);
2424

2525
expect(await getRunningContainerNames()).not.toContain(containerName);
2626
});

0 commit comments

Comments
 (0)