mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
try to fix the flaky test (#9231)
This commit is contained in:
committed by
GitHub
parent
9bf01f1401
commit
c11ebddbfb
@@ -53,8 +53,10 @@ func TestHubStopWithMultipleConnections(t *testing.T) {
|
||||
defer s.Close()
|
||||
|
||||
th.App.HubStart()
|
||||
registerDummyWebConn(t, th.App, s.Listener.Addr(), th.BasicUser.Id)
|
||||
registerDummyWebConn(t, th.App, s.Listener.Addr(), th.BasicUser.Id)
|
||||
registerDummyWebConn(t, th.App, s.Listener.Addr(), th.BasicUser.Id)
|
||||
th.App.HubStop()
|
||||
wc1 := registerDummyWebConn(t, th.App, s.Listener.Addr(), th.BasicUser.Id)
|
||||
wc2 := registerDummyWebConn(t, th.App, s.Listener.Addr(), th.BasicUser.Id)
|
||||
wc3 := registerDummyWebConn(t, th.App, s.Listener.Addr(), th.BasicUser.Id)
|
||||
defer wc1.Close()
|
||||
defer wc2.Close()
|
||||
defer wc3.Close()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user