Skip to content

Commit c11b8f1

Browse files
authored
Remove unnecessary request from log tests (#126556)
1 parent e8ffb38 commit c11b8f1

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

muted-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -402,9 +402,6 @@ tests:
402402
- class: org.elasticsearch.xpack.downsample.ILMDownsampleDisruptionIT
403403
method: testILMDownsampleRollingRestart
404404
issue: https://github.com/elastic/elasticsearch/issues/126495
405-
- class: org.elasticsearch.xpack.search.AsyncSearchErrorTraceIT
406-
method: testDataNodeLogsStackTraceWhenErrorTraceFalseOrEmpty
407-
issue: https://github.com/elastic/elasticsearch/issues/126357
408405
- class: org.elasticsearch.smoketest.MlWithSecurityIT
409406
method: test {yaml=ml/get_trained_model_stats/Test get stats given trained models}
410407
issue: https://github.com/elastic/elasticsearch/issues/126510

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)