Skip to content

Commit

Permalink
#387 it 修改
Browse files Browse the repository at this point in the history
  • Loading branch information
leewcc committed Jul 26, 2018
1 parent 83206bf commit dbad516
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public void testRunAtOnceFailAsJobStatusIsNotReady() throws SaturnJobConsoleExce
restApiService.runJobAtOnce(TEST_NAME_SPACE_NAME, jobName);
} catch (SaturnJobConsoleHttpException e) {
assertEquals("status code is not 400", 400, e.getStatusCode());
assertEquals("error message is not equals", "job' status is not {READY}", e.getMessage());
assertEquals("error message is not equals", "job's status is not {READY}", e.getMessage());
}
}

Expand Down Expand Up @@ -266,7 +266,7 @@ public void testDeleteJobFailAsStatusIsNotStopped() throws SaturnJobConsoleExcep
restApiService.deleteJob(TEST_NAME_SPACE_NAME, jobName);
} catch (SaturnJobConsoleHttpException e) {
assertEquals("status code is not 400", 400, e.getStatusCode());
assertEquals("error message is not equals", "job' status is not {STOPPED}", e.getMessage());
assertEquals("error message is not equals", "job's status is not {STOPPED}", e.getMessage());
}

// verify
Expand Down Expand Up @@ -295,7 +295,7 @@ public void testUpdateJobFailAsSaturnsIsNotStopped() throws SaturnJobConsoleExce
restApiService.updateJob(TEST_NAME_SPACE_NAME, jobName, buildUpdateJobConfig(jobName));
} catch (SaturnJobConsoleHttpException e) {
assertEquals("status code is not 400", 400, e.getStatusCode());
assertEquals("error message is not equals", "job' status is not {STOPPED}", e.getMessage());
assertEquals("error message is not equals", "job's status is not {STOPPED}", e.getMessage());
}
}

Expand Down

0 comments on commit dbad516

Please sign in to comment.