Skip to content

Commit bb7db43

Browse files
committed
iter
1 parent 1cb3c97 commit bb7db43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

qa/smoke-test-http/src/internalClusterTest/java/org/elasticsearch/http/BulkRestMarkerSuffixIT.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ public void testBulkInvalidIndexNameString() throws IOException {
8080

8181
public void testBulkRequestBodyImproperlyTerminated() throws IOException {
8282
Request request = new Request(randomBoolean() ? "POST" : "PUT", "/_bulk");
83-
8483
// missing final line of the bulk body. cannot process
8584
request.setJsonEntity(
8685
"{\"index\":{\"_index\":\"index_name\",\"_id\":\"1\"}}\n"
@@ -108,6 +107,7 @@ public void testBulkRequest() throws IOException {
108107
assertThat(indexCreatedResponse.getStatusLine().getStatusCode(), equalTo(OK.getStatus()));
109108

110109
Request firstBulkRequest = new Request("POST", "/index_name/_bulk");
110+
111111
String bulkBody = "{\"index\":{\"_index\":\"index_name\",\"_id\":\"1\"}}\n"
112112
+ "{\"field\":1}\n"
113113
+ "{\"index\":{\"_index\":\"index_name\",\"_id\":\"2\"}}\n"
@@ -191,7 +191,7 @@ public void testMalformedActionLineBulk() throws IOException {
191191
}
192192

193193
@SuppressWarnings("unchecked")
194-
private void sendLargeBulk() throws IOException {
194+
private static void sendLargeBulk() throws IOException {
195195
Request bulkRequest = new Request("POST", "/index_name/_bulk");
196196

197197
final StringBuilder bulk = new StringBuilder();

0 commit comments

Comments
 (0)