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
tsdb/index: Refactor Reader tests #14071
Conversation
d49e617
to
78491c5
Compare
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
78491c5
to
54a3d1d
Compare
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. Just a comment style suggestion, and of course, merge conflicts…
…ex-tests Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Björn Rabenstein <github@rabenste.in> Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
Thanks for the review @beorn7 - I fixed the merge conflicts (and refactored |
…heus into arve/refactor-index-tests Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2048290
to
fcd53ff
Compare
Thank you, will merge now. |
Refactor
tsdb/index.Reader
tests and a benchmark, as they have a lot in common. Pulled out of #13620, as the refactor became irrelevant there :)I think the tests/benchmark become much more maintainable and easier to understand after this refactoring.