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

Simplify DNS server startup check #833

Merged
merged 2 commits into from
Apr 1, 2015
Merged

Conversation

mgood
Copy link
Contributor

@mgood mgood commented Apr 1, 2015

The "dns" package added a parameter to pass a callback to be notified when the server has started. Using this simplifies checking that the server is up, and removes the hard-coded timeout, which as the comments note is jank 😉

I also removed the code that responds for the special _test.consul.. This was used by the startup check, but no longer seems necessary.

mgood added 2 commits March 31, 2015 16:48
Simplify waiting for the DNS server to start with the newer "NotifyStartedFunc"
callback.
By using the startup callbacks, the DNS test entry is not needed to check that
the server is alive.
@armon
Copy link
Member

armon commented Apr 1, 2015

This is quite a bit less jank. Thanks!

armon added a commit that referenced this pull request Apr 1, 2015
Simplify DNS server startup check
@armon armon merged commit 8724845 into hashicorp:master Apr 1, 2015
@mgood mgood deleted the dns-startup-hooks branch April 1, 2015 00:40
duckhan pushed a commit to duckhan/consul that referenced this pull request Oct 24, 2021
Force delete pods that are still running after `helm uninstall` so the
next installation can begin immediately.
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