🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
Fix flaky tests
Deluane89cdf6199f1
diff --git a/server/events/sse_test.go b/server/events/sse_test.goindex 6ff8426b1..b2a37f0ff 100644--- a/server/events/sse_test.go+++ b/server/events/sse_test.go@@ -107,7 +107,7 @@ var _ = Describe("Broker", func() {Context("when the write does not complete before the timeout", func() {BeforeEach(func() {timeout = 1 * time.Millisecond- flusher.delay = 10 * time.Millisecond+ flusher.delay = 2 * time.Second})It("should return an errWriteTimeOut error", func() {@@ -146,7 +146,7 @@ var _ = Describe("Broker", func() {Context("when the write does not complete before the timeout", func() {BeforeEach(func() {timeout = 1 * time.Millisecond- writer.delay = 10 * time.Millisecond+ writer.delay = 2 * time.Second})It("should return an errWriteTimeOut error", func() {