Fix possible race condition in TestUserTyping test case (#3612)
Этот коммит содержится в:
коммит произвёл
Harrison Healey
родитель
4ecd79f9e6
Коммит
4d3b831fd4
@@ -1744,6 +1744,8 @@ func TestUserTyping(t *testing.T) {
|
||||
defer WebSocketClient2.Close()
|
||||
WebSocketClient2.Listen()
|
||||
|
||||
time.Sleep(300 * time.Millisecond)
|
||||
|
||||
WebSocketClient.UserTyping(th.BasicChannel.Id, "")
|
||||
|
||||
time.Sleep(300 * time.Millisecond)
|
||||
|
||||
Ссылка в новой задаче
Block a user