grafana / mimir-prometheus

Apache License 2.0
35 stars 9 forks source link

[matalabel] Fix querier for tests #666

Closed ying-jeanne closed 3 months ago

ying-jeanne commented 3 months ago

This commit https://github.com/grafana/mimir-prometheus/pull/666/commits/a6c8df1c0a69251aec3f2aa02c2318a8657d0504 Fix the code previously breaking tests because of this line https://github.com/grafana/mimir-prometheus/pull/666/files#diff-d1e13350906ab5a0f7e0c2b6419103539c97d8ece926aca61e1e147887900e52L160, use ms... instead when no metalabel detected in query

This commit https://github.com/grafana/mimir-prometheus/pull/666/commits/bce1212feac65fedb403b51c163327535464d514 Add one more test in metadata_test.go, also introduced activate flag, so we can turn it on when ready.

ying-jeanne commented 3 months ago

after introduce the activate flag, all tests should pass