test: simplify test of service health checks #1370

Merged
mfenniak merged 1 commit from aahlenst/runner:simplify-test into main 2026-02-13 19:56:46 +00:00
Member

The test is overly complicated and relies on putting MySQL in an unhealthy state instead of making the health check fail. Furthermore, it takes long for no particular reason.

  • other
    • PR: test: simplify test of service health checks
The test is overly complicated and relies on putting MySQL in an unhealthy state instead of making the health check fail. Furthermore, it takes long for no particular reason. <!--start release-notes-assistant--> <!--URL:https://code.forgejo.org/forgejo/runner--> - other - [PR](https://code.forgejo.org/forgejo/runner/pulls/1370): <!--number 1370 --><!--line 0 --><!--description dGVzdDogc2ltcGxpZnkgdGVzdCBvZiBzZXJ2aWNlIGhlYWx0aCBjaGVja3M=-->test: simplify test of service health checks<!--description--> <!--end release-notes-assistant-->
test: simplify test of service health checks
All checks were successful
checks / Build Forgejo Runner (pull_request) Successful in 26s
checks / validate pre-commit-hooks file (pull_request) Successful in 33s
checks / validate mocks (pull_request) Successful in 40s
checks / Build unsupported platforms (pull_request) Successful in 23s
checks / runner exec tests (pull_request) Successful in 28s
checks / integration tests (docker-latest) (pull_request) Successful in 8m48s
checks / integration tests (docker-stable) (pull_request) Successful in 11m19s
issue-labels / release-notes (pull_request_target) Successful in 4s
cascade / debug (pull_request_target) Has been skipped
cascade / end-to-end (pull_request_target) Successful in 4s
cascade / forgejo (pull_request_target) Successful in 1m12s
8f05ca9c39
mfenniak approved these changes 2026-02-13 19:56:41 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
forgejo/runner!1370
No description provided.