Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
haoqixu committed Feb 6, 2024
1 parent 975b5fb commit fcbb3c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/internal/wsreceiver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ func TestReceiverLoopStop(t *testing.T) {
receiverLoopStopped.Store(true)
}()
cancel()
conn.Close()

assert.Eventually(t, func() bool {
return receiverLoopStopped.Load()
Expand Down

0 comments on commit fcbb3c7

Please sign in to comment.