Repository navigation
Relax the "timeout" requirement for TestProbeRuntimeAfterStartup - #13026
Conversation
Currently the `TestProbeRuntimeAfterStartup` conformance test requires that implementations match exactly the semantics of the Knative default configuration, which feels disconnected from the purpose of conformance. At an example, if I configure Knative slightly differently, so that the activator isn't in the request path (TBC=0), then the failure mode of this test changes from timing out to serving 503s (what K8s would do). This touches on the point Julz was making in knative#10765 where the current behavior of timing out is an unfortunate departure from K8s semantics, but only when TBC>0. This change allows 503s as an acceptable failure mode of this conformance test.
Codecov Report
@@ Coverage Diff @@
## main #13026 +/- ##
==========================================
- Coverage 87.03% 87.02% -0.01%
==========================================
Files 197 197
Lines 14439 14439
==========================================
- Hits 12567 12566 -1
Misses 1578 1578
- Partials 294 295 +1
Continue to review full report at Codecov.
|
|
Can't rerun the actions leg, but it is in an unrelated test, so a flake. |
evankanderson
left a comment
There was a problem hiding this comment.
I'm not sure we need this conformance test at all -- it seems like it would be properly conformant to start a new pod if the existing Pods are all reporting not-Ready, unless someone can point to a part of the spec that says that an implementation shouldn't spin up a new instance if there are no existing Ready instance but some instances were previously Ready.
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: evankanderson, mattmoor The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Currently the
TestProbeRuntimeAfterStartupconformance test requiresthat implementations match exactly the semantics of the Knative default
configuration, which feels disconnected from the purpose of conformance.
At an example, if I configure Knative slightly differently, so that the
activator isn't in the request path (TBC=0), then the failure mode of
this test changes from timing out to serving 503s (what K8s would do).
This touches on the point Julz was making in #10765 where the current
behavior of timing out is an unfortunate departure from K8s semantics,
but only when TBC>0.
This change allows 503s as an acceptable failure mode of this conformance
test.
Release Note
/cc @dprotaso
/assign @dprotaso