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

Refactor tests for indices_mappings #814

Conversation

sysadmind
Copy link
Contributor

  • Remove up, totalScrapes, and jsonParseFailures metrics. They are not useful.
  • Move fixtures to individual files
  • Base tests on the metric output for better testing the expected output instead of the internals.

- Remove up, totalScrapes, and jsonParseFailures metrics. They are not useful.
- Move fixtures to individual files
- Base tests on the metric output for better testing the expected output instead of the internals.

Signed-off-by: Joe Adams <github@joeadams.io>
@sysadmind sysadmind added this to the Test Cleanup milestone Nov 15, 2023
@sysadmind sysadmind requested a review from SuperQ November 15, 2023 02:58
@SuperQ SuperQ merged commit 3c7b5c7 into prometheus-community:master Dec 2, 2023
2 checks passed
@sysadmind sysadmind deleted the refactor-tests-indices-mappings branch December 21, 2023 19:17
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.

2 participants