BAEL-3298 Updating names of testcases
This commit is contained in:
parent
1f19079901
commit
7703582c8c
@ -47,7 +47,7 @@ public class SpringBatchRetryIntegrationTest {
|
|||||||
private CloseableHttpResponse httpResponse;
|
private CloseableHttpResponse httpResponse;
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void whenEndpointAlwaysFailing_thenJobFails() throws Exception {
|
public void whenEndpointAlwaysFail_thenJobFails() throws Exception {
|
||||||
when(closeableHttpClient.execute(any()))
|
when(closeableHttpClient.execute(any()))
|
||||||
.thenThrow(new ConnectTimeoutException("Endpoint is down"));
|
.thenThrow(new ConnectTimeoutException("Endpoint is down"));
|
||||||
|
|
||||||
@ -61,7 +61,7 @@ public class SpringBatchRetryIntegrationTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void whenEndpointFailsTwiceAndPassesThirdTime_thenSuccess() throws Exception {
|
public void whenEndpointFailsTwicePasses3rdTime_thenSuccess() throws Exception {
|
||||||
FileSystemResource expectedResult = new FileSystemResource(EXPECTED_OUTPUT);
|
FileSystemResource expectedResult = new FileSystemResource(EXPECTED_OUTPUT);
|
||||||
FileSystemResource actualResult = new FileSystemResource(TEST_OUTPUT);
|
FileSystemResource actualResult = new FileSystemResource(TEST_OUTPUT);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user