This commit is contained in:
Tom Wilkie 2018-03-12 16:48:51 +00:00
parent 390b018c90
commit dc860e7d0e
1 changed files with 1 additions and 1 deletions

View File

@ -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)