Skip to content

Commit

Permalink
remove import
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkGaox committed Nov 6, 2024
1 parent 441c532 commit d9cc3ed
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
import org.apache.http.StatusLine;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.conn.ConnectTimeoutException;
import org.apache.http.impl.client.HttpClientBuilder;
Expand Down Expand Up @@ -186,7 +185,7 @@ public void testMultiplePost() throws IOException {
CustomRestClientImpl customRestClient = new CustomRestClientImpl(httpClient);
HttpResponse response;

for (int i = 0; i < 10; i++) {
for (int i = 0; i < 5; i++) {
response = customRestClient.post(echoServer, Collections.emptyMap());
if (response.getStatusLine().getStatusCode() == HttpStatus.SC_OK) {
JsonNode json = customRestClient.getJsonObject(response);
Expand Down

0 comments on commit d9cc3ed

Please sign in to comment.