Skip to content

Improve healthcheck in consul docker image#24663

Merged
jsoriano merged 1 commit intoelastic:masterfrom
jsoriano:consul-healthcheck-runtime
Mar 22, 2021
Merged

Improve healthcheck in consul docker image#24663
jsoriano merged 1 commit intoelastic:masterfrom
jsoriano:consul-healthcheck-runtime

Conversation

@jsoriano
Copy link
Copy Markdown
Member

@jsoriano jsoriano commented Mar 22, 2021

Fix flaky test in Metricbeat Consul module.

Runtime fields are not reported till some seconds after startup in
Consul 1.9. If tests are fast enough, they will get events without
these expected fields, and will fail. Change the healthcheck to
ensure that these fields are being reported.

Tests with Consul 1.9 were introduced in #24123.

Closes #24589.

Runtime fields are not reported till some seconds after startup in
Consul 1.9. If tests are fast enough, they will get event without
these expected fields, and will fail. Change the healthcheck to
ensure that these fields are being reported.
@jsoriano jsoriano added module review Metricbeat Metricbeat needs_backport PR is waiting to be backported to other branches. flaky-test Unstable or unreliable test cases. v7.13.0 v7.12.1 labels Mar 22, 2021
@jsoriano jsoriano self-assigned this Mar 22, 2021
@botelastic botelastic Bot added the needs_team Indicates that the issue/PR needs a Team:* label label Mar 22, 2021
@jsoriano jsoriano added the Team:Integrations Label for the Integrations team label Mar 22, 2021
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/integrations (Team:Integrations)

@botelastic botelastic Bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Mar 22, 2021
@jsoriano jsoriano removed the v7.12.1 label Mar 22, 2021
@elasticmachine
Copy link
Copy Markdown
Contributor

elasticmachine commented Mar 22, 2021

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: jsoriano commented: /test

  • Start Time: 2021-03-22T09:50:23.705+0000

  • Duration: 51 min 54 sec

  • Commit: d6be998

Test stats 🧪

Test Results
Failed 0
Passed 8312
Skipped 2262
Total 10574

Trends 🧪

Image of Build Times

Image of Tests

💚 Flaky test report

Tests succeeded.

Expand to view the summary

Test stats 🧪

Test Results
Failed 0
Passed 8312
Skipped 2262
Total 10574

@jsoriano
Copy link
Copy Markdown
Member Author

/test

@ChrsMark
Copy link
Copy Markdown
Member

Closes #24603

@jsoriano jsoriano merged commit 307104c into elastic:master Mar 22, 2021
@jsoriano jsoriano deleted the consul-healthcheck-runtime branch March 22, 2021 12:23
@jsoriano jsoriano removed the needs_backport PR is waiting to be backported to other branches. label Mar 22, 2021
jsoriano added a commit to jsoriano/beats that referenced this pull request Mar 22, 2021
Runtime fields are not reported till some seconds after startup in
Consul 1.9. If tests are fast enough, they will get event without
these expected fields, and will fail. Change the healthcheck to
ensure that these fields are being reported.

(cherry picked from commit 307104c)
jsoriano added a commit that referenced this pull request Mar 22, 2021
Runtime fields are not reported till some seconds after startup in
Consul 1.9. If tests are fast enough, they will get event without
these expected fields, and will fail. Change the healthcheck to
ensure that these fields are being reported.

(cherry picked from commit 307104c)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

flaky-test Unstable or unreliable test cases. Metricbeat Metricbeat module review Team:Integrations Label for the Integrations team v7.13.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants