Skip to content

Commit

Permalink
Fix flaky test for Ox WebSockets (#2192)
Browse files Browse the repository at this point in the history
  • Loading branch information
kciesielski authored May 28, 2024
1 parent 50ef13d commit 7bbfabe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class OxWebSocketTest extends AnyFlatSpec with BeforeAndAfterAll with Matchers w
.response(asWebSocket { ws =>
val (wsSource, wsSink) = asSourceAndSink(ws)
eventually(wsSource.isClosedForReceiveDetail shouldBe Some(ChannelClosed.Error(expectedException)))
wsSink.isClosedForSendDetail shouldBe Some(ChannelClosed.Done)
eventually(wsSink.isClosedForSendDetail shouldBe Some(ChannelClosed.Done))
})
.send(stubBackend)
}
Expand Down

0 comments on commit 7bbfabe

Please sign in to comment.