Skip to content

WaitForLog timeout too short #55

@vf-jes

Description

@vf-jes

Hi,

I think the 10s timeout for WaitForLog is too short.

I had to manually set it with:

->withWait(new WaitForLog( 'PostgreSQL init process complete; ready for start up.', false, 60_000 ))

In testcontainers-java it's 60s if I'm not mistaken.

See:
https://github.com/testcontainers/testcontainers-java/blob/main/core/src/main/java/org/testcontainers/containers/wait/strategy/LogMessageWaitStrategy.java
And:
https://github.com/testcontainers/testcontainers-java/blob/main/core/src/main/java/org/testcontainers/containers/wait/strategy/AbstractWaitStrategy.java

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions