Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Le <[email protected]>
  • Loading branch information
alexqyle committed May 7, 2024
1 parent 540511b commit 702f3e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/ingester/client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,9 @@ func createTestIngesterClient(maxInflightPushRequests int64, currentInflightRequ
client := &closableHealthAndIngesterClient{
IngesterClient: &mockIngester{},
conn: &mockClientConn{},
addr: "dummy_addr",
maxInflightPushRequests: maxInflightPushRequests,
inflightPushRequests: prometheus.NewGaugeVec(prometheus.GaugeOpts{}, nil),
inflightPushRequests: prometheus.NewGaugeVec(prometheus.GaugeOpts{}, []string{"ingester"}),
}
client.inflightRequests.Add(currentInflightRequests)
return client
Expand Down

0 comments on commit 702f3e4

Please sign in to comment.