Skip to content

Commit

Permalink
refactor msg
Browse files Browse the repository at this point in the history
  • Loading branch information
illia-malachyn committed Dec 13, 2024
1 parent b41f176 commit ee1cf77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/access/rest/websockets/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -938,7 +938,7 @@ func (s *WsControllerSuite) expectSubscribeResponse(conn *connmock.WebsocketConn
}

func (s *WsControllerSuite) expectKeepaliveClose(conn *connmock.WebsocketConnection, done <-chan struct{}) {
// We use maybe as a test may finish faster than keepalive routine trigger WriteControl
// We use Maybe() because a test may finish faster than keepalive routine trigger WriteControl
conn.
On("WriteControl", websocket.PingMessage, mock.Anything).
Return(func(int, time.Time) error {
Expand Down

0 comments on commit ee1cf77

Please sign in to comment.