try to fix the flaky test (#9231)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
9bf01f1401
Коммит
c11ebddbfb
@@ -53,8 +53,10 @@ func TestHubStopWithMultipleConnections(t *testing.T) {
|
|||||||
defer s.Close()
|
defer s.Close()
|
||||||
|
|
||||||
th.App.HubStart()
|
th.App.HubStart()
|
||||||
registerDummyWebConn(t, th.App, s.Listener.Addr(), th.BasicUser.Id)
|
wc1 := registerDummyWebConn(t, th.App, s.Listener.Addr(), th.BasicUser.Id)
|
||||||
registerDummyWebConn(t, th.App, s.Listener.Addr(), th.BasicUser.Id)
|
wc2 := registerDummyWebConn(t, th.App, s.Listener.Addr(), th.BasicUser.Id)
|
||||||
registerDummyWebConn(t, th.App, s.Listener.Addr(), th.BasicUser.Id)
|
wc3 := registerDummyWebConn(t, th.App, s.Listener.Addr(), th.BasicUser.Id)
|
||||||
th.App.HubStop()
|
defer wc1.Close()
|
||||||
|
defer wc2.Close()
|
||||||
|
defer wc3.Close()
|
||||||
}
|
}
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user