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

Add tests #44

Open
Minoru opened this issue Nov 14, 2021 · 0 comments
Open

Add tests #44

Minoru opened this issue Nov 14, 2021 · 0 comments

Comments

@Minoru
Copy link
Owner

Minoru commented Nov 14, 2021

I got a couple unit tests, but the project only has a few functions that can be unit-tested. The rest has to be end-to-end tested I guess.

I should find out how people test their microservices. I can probably borrow some ideas from there.

Some of the functionality depends on current time; e.g. an instance is "dead" if it had been failing checks for more than a "week". Should I run the app in a clock namespace so I can adjust its notion of time easily?

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

No branches or pull requests

1 participant