diff --git a/pkg/reconciler/revision/revision_test.go b/pkg/reconciler/revision/revision_test.go index ec1a08c7c372..4bc98f8c15ee 100644 --- a/pkg/reconciler/revision/revision_test.go +++ b/pkg/reconciler/revision/revision_test.go @@ -517,7 +517,7 @@ func TestGlobalResyncOnDefaultCMChange(t *testing.T) { if ierr := wait.PollImmediate(50*time.Millisecond, 6*time.Second, func() (bool, error) { _, err = paL.Get(rev.Name) if apierrs.IsNotFound(err) { - return false, err + return false, nil } return err == nil, err }); ierr != nil {