Skip to content

Commit

Permalink
surface deployment timeout - route active
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-delph committed Nov 13, 2023
1 parent 382d737 commit f0fd956
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/reconciler/revision/table_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ func TestReconcile(t *testing.T) {
},
Key: "foo/fix-mutated-pa-fail",
}, {
Name: "surface deployment timeout",
Name: "surface deployment timeout - route active", // TODO make route reserve test
// Test the propagation of ProgressDeadlineExceeded from Deployment.
// This initializes the world to the stable state after its first reconcile,
// but changes the user deployment to have a ProgressDeadlineExceeded
Expand All @@ -454,7 +454,7 @@ func TestReconcile(t *testing.T) {
Revision("foo", "deploy-timeout",
WithRoutingState(v1.RoutingStateActive, fc),
WithLogURL, MarkActive),
pa("foo", "deploy-timeout", WithReachabilityReachable),
pa("foo", "deploy-timeout", WithReachabilityUnknown),
timeoutDeploy(deploy(t, "foo", "deploy-timeout"), "I timed out!"),
image("foo", "deploy-timeout"),
},
Expand All @@ -468,7 +468,7 @@ func TestReconcile(t *testing.T) {
WithRevisionObservedGeneration(1)),
}},
WantUpdates: []clientgotesting.UpdateActionImpl{{
Object: pa("foo", "deploy-timeout", WithReachabilityUnreachable),
Object: pa("foo", "deploy-timeout", WithReachabilityReachable),
}},
Key: "foo/deploy-timeout",
}, {
Expand Down

0 comments on commit f0fd956

Please sign in to comment.