Skip to content

Conversation

@sysadmind
Copy link
Contributor

@sysadmind sysadmind commented Oct 15, 2023

  • 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.

The second test function which has been removed is now covered by the remaining test function.

- 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 requested a review from SuperQ October 15, 2023 19:07
@sysadmind sysadmind self-assigned this Oct 15, 2023
@sysadmind sysadmind added this to the Test Cleanup milestone Oct 15, 2023
@sysadmind
Copy link
Contributor Author

bump @SuperQ

@SuperQ
Copy link
Contributor

SuperQ commented Dec 2, 2023

This needs a rebase.

@sysadmind
Copy link
Contributor Author

This was handled in #814. Closing as dupe.

@sysadmind sysadmind closed this Dec 5, 2023
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