Skip to content

Commit b57e71c

Browse files
committed
Remove unnecessary request from log tests
1 parent 7c77ead commit b57e71c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

x-pack/plugin/async-search/src/internalClusterTest/java/org/elasticsearch/xpack/search/AsyncSearchErrorTraceIT.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,6 @@ public void testDataNodeDoesNotLogStackTraceWhenErrorTraceTrue() throws IOExcept
185185
responseEntity = performRequestAndGetResponseEntityAfterDelay(request, TimeValue.timeValueSeconds(1L));
186186
}
187187

188-
getRestClient().performRequest(searchRequest);
189188
mockLog.assertAllExpectationsMatched();
190189
}
191190
}
@@ -228,7 +227,6 @@ public void testDataNodeLogsStackTraceWhenErrorTraceFalseOrEmpty() throws IOExce
228227
responseEntity = performRequestAndGetResponseEntityAfterDelay(request, TimeValue.timeValueSeconds(1L));
229228
}
230229

231-
getRestClient().performRequest(searchRequest);
232230
mockLog.assertAllExpectationsMatched();
233231
}
234232
}

0 commit comments

Comments
 (0)