Skip to content

Commit 6f1b781

Browse files
authored
[8.x] Remove unnecessary request from log tests (#126556) (#126693)
* Remove unnecessary request from log tests (#126556) (cherry picked from commit c11b8f1) # Conflicts: # muted-tests.yml * Fix
1 parent ca45080 commit 6f1b781

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
@@ -186,7 +186,6 @@ public void testDataNodeDoesNotLogStackTraceWhenErrorTraceTrue() throws IOExcept
186186
responseEntity = performRequestAndGetResponseEntityAfterDelay(request, TimeValue.timeValueSeconds(1L));
187187
}
188188

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

232-
getRestClient().performRequest(searchRequest);
233231
mockLog.assertAllExpectationsMatched();
234232
}
235233
}

0 commit comments

Comments
 (0)