Merge pull request #73 from ClusterCockpit/feature-62-rest-endpoint-delete-jobs

Feature 62 rest endpoint delete jobs
Fix #62
This commit is contained in:
Jan Eitzinger
2022-11-30 14:48:44 +01:00
committed by GitHub
7 changed files with 1102 additions and 219 deletions

View File

@@ -343,7 +343,7 @@ func TestRestApi(t *testing.T) {
restapi.MountRoutes(r)
const startJobBody string = `{
"jobId": 123,
"jobId": 123,
"user": "testuser",
"project": "testproj",
"cluster": "testcluster",
@@ -542,7 +542,7 @@ func subtestLetJobFail(t *testing.T, restapi *api.RestApi, r *mux.Router) {
}
const stopJobBody string = `{
"jobId": 12345,
"jobId": 12345,
"cluster": "testcluster",
"jobState": "failed",