Skip to content

Commit

Permalink
test fixture didn't make sense (#14400)
Browse files Browse the repository at this point in the history
  • Loading branch information
dprotaso authored Sep 20, 2023
1 parent 022f553 commit 2002b38
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 @@ -277,19 +277,19 @@ func TestReconcile(t *testing.T) {
Objects: []runtime.Object{
Revision("foo", "pa-not-ready",
WithLogURL,
WithRoutingState(v1.RoutingStateReserve, fc),
WithRoutingState(v1.RoutingStateActive, fc),
MarkRevisionReady, WithRevisionObservedGeneration(1)),
pa("foo", "pa-not-ready",
WithPAStatusService("its-not-confidential"),
WithBufferedTraffic,
WithReachabilityUnreachable),
WithReachabilityReachable),
readyDeploy(deploy(t, "foo", "pa-not-ready")),
image("foo", "pa-not-ready"),
},
WantStatusUpdates: []clientgotesting.UpdateActionImpl{{
Object: Revision("foo", "pa-not-ready",
WithLogURL, MarkRevisionReady, withDefaultContainerStatuses(),
WithRoutingState(v1.RoutingStateReserve, fc),
WithRoutingState(v1.RoutingStateActive, fc),
// When we reconcile a ready state and our pa is in an activating
// state, we should see the following mutation.
MarkActivating("Queued", "Requests to the target are being buffered as resources are provisioned."),
Expand Down

0 comments on commit 2002b38

Please sign in to comment.