-
Notifications
You must be signed in to change notification settings - Fork 38
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(rest): add health API for readiness and liveness probes #894
Conversation
Should I also add a readiness endpoint? |
2817ab5
to
3f62c14
Compare
2802fdd
to
8776d97
Compare
c19a8ff
to
c8ea837
Compare
@tiagolobocastro I'll work on a pytest and try to add it into this PR itself. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: Niladri Halder <[email protected]>
fe2b033
to
6d037e4
Compare
@tiagolobocastro @Abhinandan-Purkait I've added a pytest for the readiness probe. The liveness probe is trivial and IMO doesn't need tests. |
bors try |
tryBuild failed: |
tryBuild failed: |
bors try |
tryBuild succeeded: |
bors merge |
894: feat(rest): add health API for readiness and liveness probes r=niladrih a=niladrih Co-authored-by: Niladri Halder <[email protected]>
bors cancel |
Canceled. |
bors merge |
894: feat(rest): add health API for readiness and liveness probes r=niladrih a=niladrih Co-authored-by: Niladri Halder <[email protected]>
Build failed: |
@tiagolobocastro -- I've trimmed down on the wait times on this test, however, any lower than this and the test becomes flaky. WDYT? |
Signed-off-by: Niladri Halder <[email protected]>
I would say try 100's of milliseconds. If it's still flaky then fine keep as is. |
I've tried 10s, 100s, quite a few... this is lowest it goes and stays fail free. |
bors merge |
Build succeeded: |
No description provided.