Skip to content

Fix nested lambda in getWithTimeout#4470

Merged
kiview merged 1 commit intotestcontainers:masterfrom
Flugtiger:Flugtiger-fix4469
Oct 22, 2021
Merged

Fix nested lambda in getWithTimeout#4470
kiview merged 1 commit intotestcontainers:masterfrom
Flugtiger:Flugtiger-fix4469

Conversation

@Flugtiger
Copy link
Copy Markdown
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
Copy Markdown
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