diff --git a/pkg/controller/job/job_controller_test.go b/pkg/controller/job/job_controller_test.go index b9262ea2935..c3edf39197f 100644 --- a/pkg/controller/job/job_controller_test.go +++ b/pkg/controller/job/job_controller_test.go @@ -4872,6 +4872,7 @@ func TestJobBackoffForOnFailure(t *testing.T) { // run err := manager.syncJob(context.TODO(), testutil.GetKey(job, t)) + if err != nil { t.Errorf("unexpected error syncing job. Got %#v", err) }