Pārlūkot izejas kodu

manual backporting| (#132783)

Dimitris Rempapis 2 mēneši atpakaļ
vecāks
revīzija
f131654ea5

+ 0 - 3
muted-tests.yml

@@ -406,9 +406,6 @@ tests:
   - class: org.elasticsearch.test.index.IndexVersionUtilsTests
     method: testIndexCompatibleVersionMatches
     issue: https://github.com/elastic/elasticsearch/issues/120760
-  - class: org.elasticsearch.search.CCSDuelIT
-    method: testTerminateAfter
-    issue: https://github.com/elastic/elasticsearch/issues/126085
   - class: org.elasticsearch.smoketest.DocsClientYamlTestSuiteIT
     method: test {yaml=reference/search/retriever/line_906}
     issue: https://github.com/elastic/elasticsearch/issues/131041

+ 1 - 0
qa/multi-cluster-search/src/test/java/org/elasticsearch/search/CCSDuelIT.java

@@ -1333,6 +1333,7 @@ public class CCSDuelIT extends ESRestTestCase {
         Map<String, Object> responseMap = XContentHelper.convertToMap(bytesReference, false, XContentType.JSON).v2();
         assertNotNull(responseMap.put("took", -1));
         responseMap.remove("num_reduce_phases");
+        responseMap.remove("terminated_early");
         Map<String, Object> profile = (Map<String, Object>) responseMap.get("profile");
         if (profile != null) {
             List<Map<String, Object>> shards = (List<Map<String, Object>>) profile.get("shards");