BAEL-3298 Updating names of testcases

This commit is contained in:
Shubhra 2020-02-11 10:46:23 +05:30
parent 1f19079901
commit 7703582c8c
1 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ public class SpringBatchRetryIntegrationTest {
private CloseableHttpResponse httpResponse;
@Test
public void whenEndpointAlwaysFailing_thenJobFails() throws Exception {
public void whenEndpointAlwaysFail_thenJobFails() throws Exception {
when(closeableHttpClient.execute(any()))
.thenThrow(new ConnectTimeoutException("Endpoint is down"));
@ -61,7 +61,7 @@ public class SpringBatchRetryIntegrationTest {
}
@Test
public void whenEndpointFailsTwiceAndPassesThirdTime_thenSuccess() throws Exception {
public void whenEndpointFailsTwicePasses3rdTime_thenSuccess() throws Exception {
FileSystemResource expectedResult = new FileSystemResource(EXPECTED_OUTPUT);
FileSystemResource actualResult = new FileSystemResource(TEST_OUTPUT);