Fix Checkstyle issues.
Signed-off-by: Rabi Panda <adnapibar@gmail.com>
This commit is contained in:
parent
8bba6603da
commit
8469519413
|
@ -110,7 +110,8 @@ public class RetryHttpInitializerWrapperTests extends OpenSearchTestCase {
|
|||
.build();
|
||||
|
||||
// TODO (URL) replace w/ opensearch url
|
||||
HttpRequest request = client.getRequestFactory().buildRequest("Get", new GenericUrl("https://github.com/opensearch-project/OpenSearch"), null);
|
||||
HttpRequest request = client.getRequestFactory().buildRequest(
|
||||
"Get", new GenericUrl("https://github.com/opensearch-project/OpenSearch"), null);
|
||||
HttpResponse response = request.execute();
|
||||
|
||||
assertThat(mockSleeper.getCount(), equalTo(3));
|
||||
|
@ -143,7 +144,8 @@ public class RetryHttpInitializerWrapperTests extends OpenSearchTestCase {
|
|||
.build();
|
||||
|
||||
// TODO (URL) replace w/ opensearch URL
|
||||
HttpRequest request1 = client.getRequestFactory().buildRequest("Get", new GenericUrl("https://github.com/opensearch-project/OpenSearch"), null);
|
||||
HttpRequest request1 = client.getRequestFactory().buildRequest("Get", new GenericUrl(
|
||||
"https://github.com/opensearch-project/OpenSearch"), null);
|
||||
try {
|
||||
request1.execute();
|
||||
fail("Request should fail if wait too long");
|
||||
|
@ -170,7 +172,8 @@ public class RetryHttpInitializerWrapperTests extends OpenSearchTestCase {
|
|||
.build();
|
||||
|
||||
// TODO (URL) replace w/ opensearch URL
|
||||
HttpRequest request = client.getRequestFactory().buildRequest("Get", new GenericUrl("https://github.com/opensearch-project/OpenSearch"), null);
|
||||
HttpRequest request = client.getRequestFactory().buildRequest("Get", new GenericUrl(
|
||||
"https://github.com/opensearch-project/OpenSearch"), null);
|
||||
HttpResponse response = request.execute();
|
||||
|
||||
assertThat(mockSleeper.getCount(), equalTo(1));
|
||||
|
|
Loading…
Reference in New Issue