Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

Add automatic wait strategy #26

Closed
lhuet opened this issue Mar 29, 2018 · 3 comments
Closed

Add automatic wait strategy #26

lhuet opened this issue Mar 29, 2018 · 3 comments

Comments

@lhuet
Copy link

lhuet commented Mar 29, 2018

Have a fluent API with a wait timeout would be great:

new ElasticsearchContainer().withStartupTimeout(Duration)
@dadoonet
Copy link
Owner

dadoonet commented Apr 1, 2018

Actually really similar to #21 (I forgot that I opened this already :) )

@dadoonet
Copy link
Owner

dadoonet commented Apr 1, 2018

Interesting. That's actually probably not needed.
We check by default that "something" is running on port 9200. Whatever the status of the other elasticsearch services.

We might have to wait for the status of a specific underlying service though but in that case, we can just implement the HttpWaitStrategy.

I feel like that this issue and #21 are pretty much useless.

@dadoonet
Copy link
Owner

dadoonet commented Nov 5, 2018

Now that the project moved to testcontainers as a module, I'm not planning to add more commits as the project will be living here now: https://github.com/testcontainers/testcontainers-java/tree/master/modules/elasticsearch.

@dadoonet dadoonet closed this as completed Nov 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants