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

[Heartbeat] Fix flaky SSL test with retries. #10789

Merged
merged 2 commits into from
Feb 28, 2019

Conversation

andrewvc
Copy link
Contributor

Sometimes the httptest package when using fancy TLS options doesn't put the server up as fast as it should (at least that's the theory), and we hit before it's ready, causing a false test failure. This patch makes those tests more resilient.

It's possible there's something else at work here, but this bug is only seen on CI, and impossible to repro on my laptop.

Fixes #10722

@andrewvc andrewvc added bug review needs_backport PR is waiting to be backported to other branches. Heartbeat Team:obs-ds-hosted-services Label for the Observability Hosted Services team labels Feb 16, 2019
@andrewvc andrewvc self-assigned this Feb 16, 2019
@andrewvc andrewvc requested a review from a team as a code owner February 16, 2019 16:14
@elasticmachine
Copy link
Collaborator

Pinging @elastic/uptime

Sometimes the httptest package when using fancy TLS options doesn't put the server up as fast as it should (at least that's the theory), and we hit before it's ready, causing a false test failure. This patch makes those tests more resilient.

It's possible there's something else at work here, but this bug is only seen on CI, and impossible to repro on my laptop.

Fixes elastic#10722
Copy link
Contributor

@sayden sayden left a comment

Choose a reason for hiding this comment

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

Looks good! I re-launched the Metricbeat Travis error that was unrelated anyways

@andrewvc andrewvc merged commit eaf0889 into elastic:master Feb 28, 2019
@andrewvc andrewvc deleted the fix-flaky-ssl-test branch February 28, 2019 18:23
andrewvc added a commit to andrewvc/beats that referenced this pull request Feb 28, 2019
Sometimes the httptest package when using fancy TLS options doesn't put the server up as fast as it should (at least that's the theory), and we hit before it's ready, causing a false test failure. This patch makes those tests more resilient.

It's possible there's something else at work here, but this bug is only seen on CI, and impossible to repro on my laptop.

Fixes elastic#10722

(cherry picked from commit eaf0889)
@andrewvc andrewvc added v6.7.0 and removed needs_backport PR is waiting to be backported to other branches. labels Feb 28, 2019
andrewvc added a commit to andrewvc/beats that referenced this pull request Feb 28, 2019
Sometimes the httptest package when using fancy TLS options doesn't put the server up as fast as it should (at least that's the theory), and we hit before it's ready, causing a false test failure. This patch makes those tests more resilient.

It's possible there's something else at work here, but this bug is only seen on CI, and impossible to repro on my laptop.

Fixes elastic#10722

(cherry picked from commit eaf0889)
andrewvc added a commit that referenced this pull request Feb 28, 2019
Sometimes the httptest package when using fancy TLS options doesn't put the server up as fast as it should (at least that's the theory), and we hit before it's ready, causing a false test failure. This patch makes those tests more resilient.

It's possible there's something else at work here, but this bug is only seen on CI, and impossible to repro on my laptop.

Fixes #10722

(cherry picked from commit eaf0889)
andrewvc added a commit that referenced this pull request Feb 28, 2019
Sometimes the httptest package when using fancy TLS options doesn't put the server up as fast as it should (at least that's the theory), and we hit before it's ready, causing a false test failure. This patch makes those tests more resilient.

It's possible there's something else at work here, but this bug is only seen on CI, and impossible to repro on my laptop.

Fixes #10722

(cherry picked from commit eaf0889)
andrewvc added a commit to andrewvc/beats that referenced this pull request Feb 28, 2019
Sometimes the httptest package when using fancy TLS options doesn't put the server up as fast as it should (at least that's the theory), and we hit before it's ready, causing a false test failure. This patch makes those tests more resilient.

It's possible there's something else at work here, but this bug is only seen on CI, and impossible to repro on my laptop.

Fixes elastic#10722

(cherry picked from commit eaf0889)
andrewvc added a commit that referenced this pull request Mar 1, 2019
Sometimes the httptest package when using fancy TLS options doesn't put the server up as fast as it should (at least that's the theory), and we hit before it's ready, causing a false test failure. This patch makes those tests more resilient.

It's possible there's something else at work here, but this bug is only seen on CI, and impossible to repro on my laptop.

Fixes #10722

(cherry picked from commit eaf0889)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants