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

Wait for test server to be ready before running tests #605

Merged
merged 2 commits into from Jan 16, 2017
Merged

Wait for test server to be ready before running tests #605

merged 2 commits into from Jan 16, 2017

Conversation

NightTsarina
Copy link
Contributor

This fixes problems when running the acceptance tests in slow or CPU-starved
machines, as mentioned in #472.

This fixes problems when running the acceptance tests in slow or CPU-starved
machines, as mentioned in #472.
if err == nil {
_, err := ioutil.ReadAll(resp.Body)
if err != nil {
panic(err)
Copy link
Contributor

Choose a reason for hiding this comment

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

Fatal here instead I'd say

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@brian-brazil brian-brazil merged commit 5489644 into prometheus:master Jan 16, 2017
@brian-brazil
Copy link
Contributor

Thanks!

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.

None yet

2 participants