Skip to content

The @wait_container_is_ready decorator is deprecated #126

@sylphia-nox

Description

@sylphia-nox

Proposal

...venv\Lib\site-packages\testcontainers\core\waiting_utils.py:215
\python-wiremock.venv\Lib\site-packages\testcontainers\core\waiting_utils.py:215: DeprecationWarning: The @wait_container_is_ready decorator is deprecated and will be removed in a future version. Use structured wait strategies instead: container.waiting_for(HttpWaitStrategy(8080).for_status_code(200)) or container.waiting_for(LogMessageWaitStrategy('ready'))
@wait_container_is_ready()

Reproduction steps

Run pytests and observe first warning. This can occur when running the tests in this repo or when running tests that use this repo.

References

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions