Skip to content

Commit 35798ac

Browse files
committed
Remove unnecessary request from log tests (elastic#126556)
(cherry picked from commit c11b8f1) # Conflicts: # muted-tests.yml
1 parent cc1ed4f commit 35798ac

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
@@ -197,7 +197,6 @@ public void testDataNodeDoesNotLogStackTraceWhenErrorTraceTrue() throws IOExcept
197197
responseEntity = performRequestAndGetResponseEntityAfterDelay(request, TimeValue.timeValueSeconds(1L));
198198
}
199199

200-
getRestClient().performRequest(searchRequest);
201200
mockLog.assertAllExpectationsMatched();
202201
}
203202
}
@@ -241,7 +240,6 @@ public void testDataNodeLogsStackTraceWhenErrorTraceFalseOrEmpty() throws IOExce
241240
responseEntity = performRequestAndGetResponseEntityAfterDelay(request, TimeValue.timeValueSeconds(1L));
242241
}
243242

244-
getRestClient().performRequest(searchRequest);
245243
mockLog.assertAllExpectationsMatched();
246244
}
247245
}

0 commit comments

Comments
 (0)