mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-11-14 02:37:25 +01:00
fix job failed test
This commit is contained in:
parent
f736b7ff68
commit
b20dd65a8b
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user