Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: refactor TestNodesStats #427

Merged
merged 2 commits into from
Jun 11, 2021

Conversation

sysadmind
Copy link
Contributor

As per #419, this functionality is failing for elasticsearch version 7.13+ due to a breaking change in the response from elasticsearch. This adds some test fixtures for a range of elasticsearch versions including 7.13 to help ensure that future changes fix the incompatibility with 7.13 and maintain compatibility with versions < 7.13.

To reviewers: It may be easier to view with whitespace turned off due to the control structures adjusting indentation.

NOTE: This does not include an actual fix for the 7.13 response, only the failing test.

As per prometheus-community#419, this functionality is failing for elasticsearch version 7.13+ due to a breaking change in the response from elasticsearch. This adds some test fixtures for a range of elasticsearch versions including 7.13 to help ensure that future changes fix the incompatibility with 7.13 and maintain compatibility with versions < 7.13.

Signed-off-by: Joe Adams <[email protected]>
Copy link
Contributor

@SuperQ SuperQ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

There is not a fix for this version yet, so only keep the failing test and skip it until we have a fix.

Signed-off-by: Joe Adams <[email protected]>
@sysadmind sysadmind merged commit f1d6173 into prometheus-community:master Jun 11, 2021
@sysadmind sysadmind deleted the node-stats-tests branch October 4, 2021 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants