Skip to content

Make e2e service health check more flexible #4216

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

Closed
wants to merge 1 commit into from

Conversation

cmurphy
Copy link
Contributor

@cmurphy cmurphy commented May 30, 2025

In 62a6617 in rekor, health checks were added to the trillian services, which means now five of the five services will report "healthy" when running. The cosign e2e tests were checking that exactly 3 were healthy, so if they started too fast and 4 or more were healthy, the tests would fail. This change makes the check more flexible. It is not very sophisticated, as it's technically possible the wrong 3 services are healthy, but it should still be good enough to serve its purpose in CI.

Summary

Release Note

Documentation

In 62a6617 in rekor, health checks were added to the trillian services,
which means now five of the five services will report "healthy" when
running. The cosign e2e tests were checking that exactly 3 were healthy,
so if they started too fast and 4 or more were healthy, the tests would
fail. This change makes the check more flexible. It is not very
sophisticated, as it's technically possible the wrong 3 services are
healthy, but it should still be good enough to serve its purpose in CI.

Signed-off-by: Colleen Murphy <[email protected]>
@cmurphy cmurphy requested a review from a team as a code owner May 30, 2025 17:06
@cmurphy cmurphy mentioned this pull request May 30, 2025
2 tasks
Copy link

codecov bot commented May 30, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 34.41%. Comparing base (2ef6022) to head (aff0162).
Report is 390 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4216      +/-   ##
==========================================
- Coverage   40.10%   34.41%   -5.69%     
==========================================
  Files         155      210      +55     
  Lines       10044    13747    +3703     
==========================================
+ Hits         4028     4731     +703     
- Misses       5530     8429    +2899     
- Partials      486      587     +101     

☔ View full report in Codecov by Sentry.
📢 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.

@haydentherapper
Copy link
Contributor

@cmurphy
Copy link
Contributor Author

cmurphy commented May 30, 2025

Works for me 👍

@cmurphy cmurphy closed this May 30, 2025
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.

2 participants