Skip to content
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

Fix/health shutdown #42

Merged
merged 5 commits into from
Dec 15, 2023
Merged

Fix/health shutdown #42

merged 5 commits into from
Dec 15, 2023

Conversation

y-eight
Copy link
Member

@y-eight y-eight commented Dec 14, 2023

Motivation

The health check shutdown did not work properly. Due to an uninitialized channel the shutdown could not be performed, the sparrow would have been blocked.

Additionally, I have rm the moq files from gitignore @puffitos. Should be pushed to repo.

Changes

For additional information look at the commits.

Tests done

  • unit test

@y-eight y-eight added the bug Something isn't working label Dec 14, 2023
@y-eight y-eight self-assigned this Dec 14, 2023
Copy link
Collaborator

@puffitos puffitos left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for including the mocks.

pkg/checks/health_test.go Show resolved Hide resolved
@y-eight y-eight requested a review from puffitos December 14, 2023 15:12
Copy link
Collaborator

@lvlcn-t lvlcn-t left a comment

Choose a reason for hiding this comment

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

LGTM

@lvlcn-t
Copy link
Collaborator

lvlcn-t commented Dec 14, 2023

LGTM, thanks for including the mocks.

Since we've now included the mocks, we can remove the generation from the unit test job

@y-eight y-eight merged commit 904bded into main Dec 15, 2023
6 checks passed
@lvlcn-t lvlcn-t deleted the fix/health-shutdown branch December 15, 2023 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants