mirror of
https://github.com/prometheus/prometheus.git
synced 2025-08-06 22:27:17 +02:00
Fix nit.
This commit is contained in:
parent
390b018c90
commit
dc860e7d0e
@ -126,7 +126,7 @@ func TestSampleDelivery(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestSampleDeliveryTimeout(t *testing.T) {
|
func TestSampleDeliveryTimeout(t *testing.T) {
|
||||||
// Let's send on less sample than batch size, and wait the timeout duration
|
// Let's send one less sample than batch size, and wait the timeout duration
|
||||||
n := config.DefaultQueueConfig.Capacity - 1
|
n := config.DefaultQueueConfig.Capacity - 1
|
||||||
|
|
||||||
samples := make(model.Samples, 0, n)
|
samples := make(model.Samples, 0, n)
|
||||||
|
Loading…
Reference in New Issue
Block a user