Skip to content

Commit

Permalink
Update integration/query_frontend_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Dimitar Dimitrov <[email protected]>
  • Loading branch information
julienduchesne and dimitarvdimitrov authored Mar 4, 2025
1 parent 6912667 commit 3830fa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration/query_frontend_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ func runQueryFrontendTest(t *testing.T, cfg queryFrontendTestConfig) {
// Compute the expected number of queries.
expectedQueriesCount := float64(numUsers*numQueriesPerUser) + 4
// The "time()" query and the query with time range < "query ingesters within" are not pushed down to ingesters.
// +1 because one split query ends up as on the ingester.
// +1 because one split query ends up touching the ingester.
// +2 because the spun off subquery ends up as additional ingester queries.
expectedIngesterQueriesCount := float64(numUsers*numQueriesPerUser) + 3
if cfg.queryStatsEnabled {
Expand Down

0 comments on commit 3830fa0

Please sign in to comment.