Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix nested lambda in getWithTimeout #4470

Merged
merged 1 commit into from
Oct 22, 2021

Conversation

Flugtiger
Copy link
Contributor

This fixes #4469.
getWithTimeout did only apply to the outer lambda, which returned immediately (the inner lambda). Instead wrap getWithTimeout itself inside a lambda.

This fixes testcontainers#4469, getWithTimeout did only apply to the outer lambda, which returned immediately (the inner lambda). Instead wrap getWithTimeout itself inside a lambda.
@Flugtiger Flugtiger changed the title Fix double nested lambda in getWithTimeout Fix nested lambda in getWithTimeout Sep 20, 2021
@Flugtiger
Copy link
Contributor Author

Hmm, this fix does not help in our case (I consider it valid nevertheless). Maybe our CI is simply slower than the hard-coded timeout of 10s :-/

@bsideup bsideup added this to the next milestone Oct 22, 2021
@kiview kiview merged commit ce57df6 into testcontainers:master Oct 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BrowserWebDriverContainer: Timeout in containerIsStarted
4 participants