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

Feat/tests #23

Merged
merged 3 commits into from
Sep 12, 2024
Merged

Feat/tests #23

merged 3 commits into from
Sep 12, 2024

Conversation

stvnksslr
Copy link
Collaborator

not sure if needed to be merged, exploring building out some simple test cases.

@stvnksslr stvnksslr requested a review from jmriebold September 12, 2024 14:57
@jmriebold
Copy link
Owner

Looks like this will need to be rebased.

@stvnksslr
Copy link
Collaborator Author

Ill fix the conflicts but let me know if these tests make any sense the app itself if simple enough that i was on the fence.

@jmriebold
Copy link
Owner

Yeah I think it's great. Only suggestion I have is, since you're already testing the healthcheck endpoint, you could test the output of /metrics instead of testing monitorQueue() directly. There's not a lot of actual logic in monitorQueue() anyways.

@stvnksslr
Copy link
Collaborator Author

o thats a good point, i didnt think of that since its a big ole text blob

main.go Show resolved Hide resolved
@jmriebold jmriebold merged commit 5330ae0 into master Sep 12, 2024
6 checks passed
@jmriebold jmriebold deleted the feat/tests branch September 12, 2024 16:21
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