Skip to content
Snippets Groups Projects
Commit 8ed1e5a7 authored by Muskan Srivastava's avatar Muskan Srivastava
Browse files

renamed a UT in UrlFetchServiceAzureImpl

parent 568188ef
No related branches found
No related tags found
1 merge request!147Enabling retry for indexer to storage service calls
Pipeline #36560 failed
......@@ -59,7 +59,7 @@ public class UrlFetchServiceAzureImplTest {
verify(retryPolicy,times(1)).retryFunction(httpRequest);
}
@Test
public void etryFunction_shouldBeCalled_when_isGetStorageRecords_returnsTrue() throws Exception {
public void retryFunction_shouldNotBeCalled_when_isGetStorageRecords_returnsFalse() throws Exception {
UrlFetchServiceAzureImpl mock= spy(new UrlFetchServiceAzureImpl(retryPolicy,urlFetchService));
response.setBody(json3);
when(urlFetchService.sendRequest(httpRequest)).thenReturn(response);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment