Increase streamer test timeout

This commit is contained in:
Deluan 2020-07-21 20:43:59 -04:00
parent ff623a8dce
commit 1bee98af52
1 changed files with 1 additions and 1 deletions

View File

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