Fix nit.
This commit is contained in:
parent
731259afd0
commit
597c17d3e9
|
@ -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