mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Added a short wait to TestSetActiveChannel to stop randomly failing tests (#4115)
* Added a short wait to TestSetActiveChannel to stop randomly failing tests * Increased the timeout in TestWebSocketEvent
This commit is contained in:
committed by
Joram Wilander
parent
53ba8ec9c2
commit
fc54aececc
@@ -101,7 +101,7 @@ func TestWebSocketEvent(t *testing.T) {
|
||||
}
|
||||
}()
|
||||
|
||||
time.Sleep(300 * time.Millisecond)
|
||||
time.Sleep(400 * time.Millisecond)
|
||||
|
||||
stop <- true
|
||||
|
||||
@@ -128,7 +128,7 @@ func TestWebSocketEvent(t *testing.T) {
|
||||
}
|
||||
}()
|
||||
|
||||
time.Sleep(300 * time.Millisecond)
|
||||
time.Sleep(400 * time.Millisecond)
|
||||
|
||||
stop <- true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user