diff --git a/revid/senders_test.go b/revid/senders_test.go index 8105b818..951276ee 100644 --- a/revid/senders_test.go +++ b/revid/senders_test.go @@ -224,7 +224,7 @@ func TestMtsSenderFailedSend(t *testing.T) { // Create destination, the mtsSender and the mtsEncoder const clipToFailAt = 3 dst := &destination{t: t, testFails: true, failAt: clipToFailAt, done: make(chan struct{})} - rb, err := vring.NewBuffer(rbMaxElements, rbCapacity, 0) + rb, err := vring.NewBuffer(rbMaxElements, rbCapacity, 10*time.Millisecond) if err != nil { t.Fatalf("could not initialise ring buffer: %v", err) }