FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Parametrize timeout in .wait_for() call by alexberndt · Pull Request #973 · testcontainers/testcontainers-python · GitHub

Parametrize timeout in .wait_for() call - #973

Open
alexberndt wants to merge 1 commit into
testcontainers:mainfrom
alexberndt:alex/parametrize-timeout
Open

Parametrize timeout in .wait_for() call#973
alexberndt wants to merge 1 commit into
testcontainers:mainfrom
alexberndt:alex/parametrize-timeout

Conversation

alexberndt commented Mar 2, 2026
edited
Loading

Copy link
Copy Markdown

Parametrize the timeout time in the DockerCompose().wait_for() method, sticking to the original default of 120 seconds.

Copy link
Copy Markdown
Member

ok so better if we can add this to the base strategy class, because you can have other parameters, like interval and frequency. if you must add this now, mark it as deprecated with a note that this will be a common field in all strategies in the future. like we can even keep this parameter around indefinitely because ergonomics is important but architecturally it is out of place.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

2 participants


Back | FazBrowse Home | New Git URL