Skip to content

add container logs to TimeoutError when wait strategy times out#1007

Open
ticapix wants to merge 1 commit intotestcontainers:mainfrom
ticapix:main
Open

add container logs to TimeoutError when wait strategy times out#1007
ticapix wants to merge 1 commit intotestcontainers:mainfrom
ticapix:main

Conversation

@ticapix
Copy link
Copy Markdown

@ticapix ticapix commented Apr 15, 2026

Hello,

Thanks for testcontainers !

I had a lot of trouble to understand why my docker strategy was timing out and I ended up patching the code like in this PR to get the container logs when there is a timeout.

I hope it can help others when debugging.

make tests runs ok

Happy to update the PR if needed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant