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

[FLINK-28177] for test containers add elasticsearch service really up check #48

Conversation

dingweiqings
Copy link
Contributor

Description

I found elasticsearch service in testcontainers may start up slower than test case leading to failure test.

How to fix

Add a service check strategy , which is http respose check for elasticsearch.

@boring-cyborg
Copy link

boring-cyborg bot commented Dec 8, 2022

Thanks for opening this pull request! Please check out our contributing guidelines. (https://flink.apache.org/contributing/how-to-contribute.html)

@dingweiqings dingweiqings marked this pull request as draft December 8, 2022 13:41
@dingweiqings dingweiqings marked this pull request as ready for review December 9, 2022 03:12
Copy link
Contributor

@MartijnVisser MartijnVisser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dingweiqings Thanks for the PR! Let's lower the timeout a little bit to have it in sync with other tests

@MartijnVisser MartijnVisser self-assigned this Dec 20, 2022
Copy link
Contributor

@MartijnVisser MartijnVisser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MartijnVisser MartijnVisser merged commit 79e7c96 into apache:main Dec 21, 2022
@boring-cyborg
Copy link

boring-cyborg bot commented Dec 21, 2022

Awesome work, congrats on your first merged pull request!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants