Skip to content

fix(tests): retry fact health_check more times#914

Merged
JoukoVirtanen merged 1 commit into
mainfrom
mauro/tests/more-retries
Jun 25, 2026
Merged

fix(tests): retry fact health_check more times#914
JoukoVirtanen merged 1 commit into
mainfrom
mauro/tests/more-retries

Conversation

@Molter73

@Molter73 Molter73 commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

Description

After adding some more test platforms through #760, some tests have started failing with the claim that fact failed to start. Upon reviewing the logs it turns out fact sometimes take slightly longer to start, so increasing the number of times we retry the health_check endpoint should be enough to mitigate this flake.

Examples of the flake:

Checklist

  • Patch has a change log entry OR does not need one.
  • Investigated and inspected CI test results
  • Updated documentation accordingly

Automated testing

  • Added unit tests
  • Added integration tests
  • Added regression tests

If any of these don't apply, please comment below.

Testing Performed

CI should be enough. Will monitor CI after merging to check the flake is properly gone.

After adding some more test platforms through #760, some tests have
started failing with the claim that fact failed to start. Upon reviewing
the logs it turns out fact sometimes take slightly longer to start, so
increasing the number of times we retry the health_check endpoint should
be enough to mitigate this flake.
@Molter73
Molter73 requested a review from a team as a code owner June 25, 2026 11:02
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 32.72%. Comparing base (0480c62) to head (67a6ffb).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #914   +/-   ##
=======================================
  Coverage   32.72%   32.72%           
=======================================
  Files          21       21           
  Lines        2695     2695           
  Branches     2695     2695           
=======================================
  Hits          882      882           
  Misses       1810     1810           
  Partials        3        3           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@JoukoVirtanen JoukoVirtanen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!

@JoukoVirtanen
JoukoVirtanen merged commit 749dd31 into main Jun 25, 2026
72 of 76 checks passed
@JoukoVirtanen
JoukoVirtanen deleted the mauro/tests/more-retries branch June 25, 2026 16:45
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.

3 participants