Skip to content

Commit 359df3d

Browse files
committed
fix test
Signed-off-by: SungJin1212 <tjdwls1201@gmail.com>
1 parent 34e0ad7 commit 359df3d

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

integration/querier_test.go

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -523,13 +523,19 @@ func TestQuerierWithBlocksStorageRunningInMicroservicesMode(t *testing.T) {
523523
// ensure parquet shard cache works
524524
require.NoError(t, storeGateways.WaitSumMetricsWithOptions(e2e.Greater(float64(0)), []string{"cortex_parquet_cache_hits_total"}, e2e.WithLabelMatchers(
525525
labels.MustNewMatcher(labels.MatchEqual, "component", "store-gateway"),
526-
labels.MustNewMatcher(labels.MatchEqual, "name", "parquet-shards"))))
526+
labels.MustNewMatcher(labels.MatchEqual, "name", "parquet-shards"))),
527+
e2e.WaitMissingMetrics,
528+
)
527529
require.NoError(t, storeGateways.WaitSumMetricsWithOptions(e2e.Greater(float64(0)), []string{"cortex_parquet_cache_item_count"}, e2e.WithLabelMatchers(
528530
labels.MustNewMatcher(labels.MatchEqual, "component", "store-gateway"),
529-
labels.MustNewMatcher(labels.MatchEqual, "name", "parquet-shards"))))
531+
labels.MustNewMatcher(labels.MatchEqual, "name", "parquet-shards"))),
532+
e2e.WaitMissingMetrics,
533+
)
530534
require.NoError(t, storeGateways.WaitSumMetricsWithOptions(e2e.Greater(float64(0)), []string{"cortex_parquet_cache_misses_total"}, e2e.WithLabelMatchers(
531535
labels.MustNewMatcher(labels.MatchEqual, "component", "store-gateway"),
532-
labels.MustNewMatcher(labels.MatchEqual, "name", "parquet-shards"))))
536+
labels.MustNewMatcher(labels.MatchEqual, "name", "parquet-shards"))),
537+
e2e.WaitMissingMetrics,
538+
)
533539
}
534540

535541
// Query metadata.

0 commit comments

Comments
 (0)