fix job failed test

This commit is contained in:
Pay Giesselmann 2022-11-25 11:48:30 +01:00
parent f736b7ff68
commit b20dd65a8b

View File

@ -566,8 +566,8 @@ func subtestLetJobFail(t *testing.T, restapi *api.RestApi, r *mux.Router) {
t.Fatal(err) t.Fatal(err)
} }
if job.State != schema.JobStateCompleted { if job.State != schema.JobStateFailed {
t.Fatal("expected job to be completed") t.Fatal("expected job to be failed")
} }
}) })
if !ok { if !ok {