Skip to content

Commit c71cf4a

Browse files
committed
chore: fix flaky test
1 parent 6ff250a commit c71cf4a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/integration/rt_channel_test.exs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1148,6 +1148,7 @@ defmodule Realtime.Integration.RtChannelTest do
11481148
WebsocketClient.send_event(socket, realtime_topic, "access_token", %{"access_token" => token})
11491149

11501150
assert_receive %Message{event: "system"}, 1000
1151+
assert_receive %Message{event: "phx_close", topic: ^realtime_topic}
11511152
end)
11521153

11531154
assert log =~ "ChannelShutdown"

0 commit comments

Comments
 (0)