-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
tests: merge test_metrics.py into prometheus_test.py #2254
Conversation
3083a2d
to
903e2b6
Compare
in order to reduce the replicated code, this change adds a test to prometheus_test.py, to verify the metrics without aggregations. since we already have the coverage for this feature, let's drop it from test_metrics.py. Signed-off-by: Kefu Chai <[email protected]>
in this change, we * add a test for testing protobuf support in prometheus_test.py * drop test_metrics.py, as all the tests in it have been moved into prometheus_test.py Signed-off-by: Kefu Chai <[email protected]>
@amnonh hello Amnon, ping? |
@amnonh hey Amnon, ping? |
@tchaikov I was on vacation, I'll take a look |
Thank you Amnon! |
In general, it makes sense; that was my original comment when you added prometheus_test.py; why have two files for the same purpose when we can have one? I haven't tested the code but I assume it works |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Amnon, thank you for your review and approval. |
@scylladb/seastar-maint hello maintainers, could you help merge this change? |
in this series, we move all tests in
test_metrics.py
intoprometheus_test.py
to drop the repeating code.