Skip to content

[CI] SearchHitTests.testSerializeShardTarget fails on 6.x #37214

Closed
@tlrx

Description

@tlrx

After #36997, the SearchHitTests.testSerializeShardTarget needs to be adapted to work on 6.x when a random version < 5.6 is picked up and the cluster alias is not deserialized.

See:
https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+6.x+release-tests/317/consoleFull

I can reproduce on 6.x with:

./gradlew :server:unitTest -Dtests.seed=6E493E03085BDF45 -Dtests.class=org.elasticsearch.search.SearchHitTests -Dtests.method="testSerializeShardTarget" -Dtests.security.manager=true -Dbuild.snapshot=true -Dtests.jvm.argline="-Dbuild.snapshot=true" -Dtests.locale=sr-BA -Dtests.timezone=Australia/ACT -Dcompiler.java=11 -Druntime.java=8

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions