Skip to content

CI: inclusion of the _index and _id for nested search breaks mixed cluster tests #27570

@imotov

Description

@imotov

Backport of #27201 to 6.2 seems to broke several tests that we ensuring that _index doesn't show up for nested hits. The issue is reproducible on 6.x branch with the following command line:

gradle :qa:mixed-cluster:v5.6.5-SNAPSHOT#mixedClusterTestRunner -Dtests.seed=E21365142E3CBA4E -Dtests.class=org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT -Dtests.security.manager=true -Dtests.locale=es-CU -Dtests.timezone=Antarctica/Macquarie

The following tests are currently failing:

org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=search.aggregation/200_top_hits_metric/top_hits aggregation with nested documents}
org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=search.inner_hits/10_basic/Nested inner hits}
org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=/10_parent_child/Parent/child inner hits}

The issue seems to be related to incorrectly determine if the test should be skipped in a mixed cluster.

Metadata

Metadata

Assignees

Labels

:Search/SearchSearch-related issues that do not fall into other categories>test-failureTriaged test failures from CI

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions