Commit e5a1645
Innokentii Konstantinov
Speed-up samples processed from cache stats integration tests (#11949)
<!-- Thanks for sending a pull request! Before submitting:
1. Read our CONTRIBUTING.md guide
2. Rebase your PR if it gets out of sync with main
-->
#### What this PR does
This PR speeds up the integration tests for "samples processed from
cache" stats by starting the Mimir cluster once per test, instead of
restarting it for every test case.
On my laptop, the test duration went from 144 seconds to 30.
#### Checklist
- [N/A] Tests updated.
- [N/A] Documentation added.
- [N/A] `CHANGELOG.md` updated - the order of entries should be
`[CHANGE]`, `[FEATURE]`, `[ENHANCEMENT]`, `[BUGFIX]`. If changelog entry
is not needed, please add the `changelog-not-needed` label to the PR.
- [N/A]
[`about-versioning.md`](https://github.com/grafana/mimir/blob/main/docs/sources/mimir/configure/about-versioning.md)
updated with experimental features.
---------
Signed-off-by: Innokentii Konstantinov <innokenty.konstantinov@grafana.com>1 parent 6ac6730 commit e5a1645
1 file changed
+160
-130
lines changed
0 commit comments