mimir icon indicating copy to clipboard operation
mimir copied to clipboard

blockbuilder: more tests

Open narqo opened this issue 1 year ago • 0 comments

What this PR does

~~This one seats atop https://github.com/grafana/mimir/pull/9199 for now~~

This is part of https://github.com/grafana/mimir/pull/8635; refer to it for more details.

Here we backport the test cases for how block-builder handles the out-of-order samples.

Also, the PR fixes a flaky TestBlockBuilder_StartWithLookbackOnNoCommit test, by making sure the test waits for the correct outcome.

Checklist

  • [x] Tests updated.
  • [ ] Documentation added.
  • [ ] CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX].
  • [ ] about-versioning.md updated with experimental features.

narqo avatar Sep 17 '24 14:09 narqo