Skip to content

Commit

Permalink
Merge pull request #6197 from cortexproject/CharlieTLe-patch-1
Browse files Browse the repository at this point in the history
fix: querier integration flaky test
  • Loading branch information
CharlieTLe authored Sep 11, 2024
2 parents 94122d1 + eb915f8 commit 2490796
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration/querier_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ func TestQuerierWithBlocksStorageRunningInMicroservicesMode(t *testing.T) {
// then the metric only appears in one store gateway instance.
require.NoError(t, storeGateways.WaitSumMetricsWithOptions(e2e.Equals(2), []string{"cortex_bucket_store_blocks_loaded"}, e2e.SkipMissingMetrics))
} else {
require.NoError(t, storeGateways.WaitSumMetrics(e2e.Equals(float64(2*storeGateways.NumInstances())), "cortex_bucket_store_blocks_loaded"))
require.NoError(t, storeGateways.WaitSumMetricsWithOptions(e2e.Equals(float64(2*storeGateways.NumInstances())), []string{"cortex_bucket_store_blocks_loaded"}, e2e.WaitMissingMetrics))
}

// Check how many tenants have been discovered and synced by store-gateways.
Expand Down

0 comments on commit 2490796

Please sign in to comment.