-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Tests for multi-container readiness and liveness probes #15180
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #15180 +/- ##
==========================================
+ Coverage 84.11% 84.74% +0.63%
==========================================
Files 213 218 +5
Lines 16783 13472 -3311
==========================================
- Hits 14117 11417 -2700
+ Misses 2315 1688 -627
- Partials 351 367 +16 ☔ View full report in Codecov by Sentry. |
handleMain does not reflect the readiness state like it was before
This reverts commit c6929e6e0e1190b15c990c7873b269abdae9609d.
* start package-private functions with lowercase * use already existing const for "user-container" * rename getPort to getServerPort to make it more specific (avoid confusion with FORWARD_PORT)
LGTM, I can approve once https://github.com/knative/serving/actions/runs/8965592118/job/24619389624?pr=15180 passes. |
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
/approve
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dsimansk, mgencur, ReToCode The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
* Tests for multi-container readiness and liveness probes * Use PORT instead of HEALTHCHECK_PORT for serving container * Fixes * Pass FORWARD_PORT in service_test * Revert readiness image to only fail readiness probe handleMain does not reflect the readiness state like it was before * Use proxy to start failing sidecar This reverts commit c6929e6e0e1190b15c990c7873b269abdae9609d. * Test liveness failure * Use /healthz/readiness in multicontainer test * Address review feedback * start package-private functions with lowercase * use already existing const for "user-container" * rename getPort to getServerPort to make it more specific (avoid confusion with FORWARD_PORT) * Fix lint
* Enable multi-container probing tests in openshift/e2e-common.sh * Tests for multi-container readiness and liveness probes (knative#15180) * Tests for multi-container readiness and liveness probes * Use PORT instead of HEALTHCHECK_PORT for serving container * Fixes * Pass FORWARD_PORT in service_test * Revert readiness image to only fail readiness probe handleMain does not reflect the readiness state like it was before * Use proxy to start failing sidecar This reverts commit c6929e6e0e1190b15c990c7873b269abdae9609d. * Test liveness failure * Use /healthz/readiness in multicontainer test * Address review feedback * start package-private functions with lowercase * use already existing const for "user-container" * rename getPort to getServerPort to make it more specific (avoid confusion with FORWARD_PORT) * Fix lint
* Tests for multi-container readiness and liveness probes * Use PORT instead of HEALTHCHECK_PORT for serving container * Fixes * Pass FORWARD_PORT in service_test * Revert readiness image to only fail readiness probe handleMain does not reflect the readiness state like it was before * Use proxy to start failing sidecar This reverts commit c6929e6e0e1190b15c990c7873b269abdae9609d. * Test liveness failure * Use /healthz/readiness in multicontainer test * Address review feedback * start package-private functions with lowercase * use already existing const for "user-container" * rename getPort to getServerPort to make it more specific (avoid confusion with FORWARD_PORT) * Fix lint
Fixes #14869
Fixes #12480
Proposed Changes
Release Note