Skip to content

🎧 Your Personal Streaming Service

Increase streamer test timeout

Deluan1bee98af52ec
diff --git a/core/media_streamer_test.go b/core/media_streamer_test.go
index 7053ce2e4..294816265 100644
--- a/core/media_streamer_test.go
+++ b/core/media_streamer_test.go
@@ -48,7 +48,7 @@ var _ = Describe("MediaStreamer", func() {
Expect(s.Duration()).To(Equal(float32(257.0)))
})
It("returns a seekable stream if the file is complete in the cache", func() {
- Eventually(func() bool { return ffmpeg.closed }).Should(BeTrue())
+ Eventually(func() bool { return ffmpeg.closed }, "3s").Should(BeTrue())
s, err := streamer.NewStream(ctx, "123", "mp3", 64)
Expect(err).To(BeNil())
Expect(s.Seekable()).To(BeTrue())