Skip to content

Cherry-pick #24663 to 7.x: Improve healthcheck in consul docker image#24673

Merged
jsoriano merged 1 commit intoelastic:7.xfrom
jsoriano:backport_24663_7.x
Mar 22, 2021
Merged

Cherry-pick #24663 to 7.x: Improve healthcheck in consul docker image#24673
jsoriano merged 1 commit intoelastic:7.xfrom
jsoriano:backport_24663_7.x

Conversation

@jsoriano
Copy link
Copy Markdown
Member

@jsoriano jsoriano commented Mar 22, 2021

Cherry-pick of PR #24663 to 7.x branch. Original message:

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.

(cherry picked from commit 307104c)
@botelastic botelastic Bot added the needs_team Indicates that the issue/PR needs a Team:* label 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
@elasticmachine
Copy link
Copy Markdown
Contributor

💚 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: Pull request #24673 opened

  • Start Time: 2021-03-22T12:24:53.644+0000

  • Duration: 46 min 53 sec

  • Commit: 4729609

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 jsoriano merged commit bf4fdb2 into elastic:7.x Mar 22, 2021
@jsoriano jsoriano deleted the backport_24663_7.x branch March 22, 2021 14:11
@zube zube Bot removed the [zube]: Done label Jun 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Team:Integrations Label for the Integrations team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants