Skip to content

WaitForLog timeout too short #55

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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