@@ -110,7 +110,8 @@ public void testSimpleRetry() throws Exception {
110
110
.build ();
111
111
112
112
// TODO (URL) replace w/ opensearch url
113
- HttpRequest request = client .getRequestFactory ().buildRequest ("Get" , new GenericUrl ("https://github.com/opensearch-project/OpenSearch" ), null );
113
+ HttpRequest request = client .getRequestFactory ().buildRequest (
114
+ "Get" , new GenericUrl ("https://github.com/opensearch-project/OpenSearch" ), null );
114
115
HttpResponse response = request .execute ();
115
116
116
117
assertThat (mockSleeper .getCount (), equalTo (3 ));
@@ -143,7 +144,8 @@ public void sleep(long millis) throws InterruptedException {
143
144
.build ();
144
145
145
146
// TODO (URL) replace w/ opensearch URL
146
- HttpRequest request1 = client .getRequestFactory ().buildRequest ("Get" , new GenericUrl ("https://github.com/opensearch-project/OpenSearch" ), null );
147
+ HttpRequest request1 = client .getRequestFactory ().buildRequest ("Get" , new GenericUrl (
148
+ "https://github.com/opensearch-project/OpenSearch" ), null );
147
149
try {
148
150
request1 .execute ();
149
151
fail ("Request should fail if wait too long" );
@@ -170,7 +172,8 @@ public void testIOExceptionRetry() throws Exception {
170
172
.build ();
171
173
172
174
// TODO (URL) replace w/ opensearch URL
173
- HttpRequest request = client .getRequestFactory ().buildRequest ("Get" , new GenericUrl ("https://github.com/opensearch-project/OpenSearch" ), null );
175
+ HttpRequest request = client .getRequestFactory ().buildRequest ("Get" , new GenericUrl (
176
+ "https://github.com/opensearch-project/OpenSearch" ), null );
174
177
HttpResponse response = request .execute ();
175
178
176
179
assertThat (mockSleeper .getCount (), equalTo (1 ));
0 commit comments