mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-07-26 06:06:15 +02:00
fix job failed test
This commit is contained in:
@@ -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 {
|
||||||
|
Reference in New Issue
Block a user