summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--api/user_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/api/user_test.go b/api/user_test.go
index 6f3f616e7..7d1e4026c 100644
--- a/api/user_test.go
+++ b/api/user_test.go
@@ -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)