Skip to content

Commit fffadb2

Browse files
Increase timeout for waiting for host ports
1 parent bc28e2d commit fffadb2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/testcontainers/src/generic-container/inspect-container-util-ports-exposed.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ export async function inspectContainerUntilPortsExposed(
1313
inspectFn: () => Promise<ContainerInspectInfo>,
1414
ports: PortWithOptionalBinding[],
1515
containerId: string,
16-
timeout = 5000
16+
timeout = 10_000
1717
): Promise<Result> {
18-
const result = await new IntervalRetry<Result, Error>(100).retryUntil(
18+
const result = await new IntervalRetry<Result, Error>(250).retryUntil(
1919
async () => {
2020
const inspectResult = await inspectFn();
2121
const mappedInspectResult = mapInspectResult(inspectResult);

0 commit comments

Comments
 (0)