Skip to content

Conversation

@polyfractal
Copy link
Contributor

Tests can override assertToXContentEquivalence() in case their xcontent cannot be directly compared (e.g. due to insertion order in maps affecting the xcontent ordering). But the testHlrcFromXContent test hardcoded the equivalence test to true instead of consulting assertToXContentEquivalence()

Fixes #36034
Backport of #38232

Tests can override assertToXContentEquivalence() in case their xcontent
cannot be directly compared (e.g. due to insertion order in maps
affecting the xcontent ordering).  But the `testHlrcFromXContent` test
hardcoded the equivalence test to `true` instead of consulting
`assertToXContentEquivalence()`

Fixes elastic#36034
Backport of elastic#38232
@polyfractal polyfractal added >test Issues or PRs that are addressing/adding tests :Core/Features/Java High Level REST Client backport labels Feb 5, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features

@jasontedor jasontedor changed the base branch from 6.x to 6.7 February 6, 2019 13:09
@jasontedor jasontedor reopened this Feb 6, 2019
@polyfractal polyfractal merged commit b4cde4b into elastic:6.7 Feb 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport >test Issues or PRs that are addressing/adding tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants