MM-35239: Fix racy test HubSessionRevokeRace (#17534)

Automatic Merge
Этот коммит содержится в:
Agniva De Sarker
2021-04-28 15:06:05 +05:30
коммит произвёл GitHub
родитель 79dd9b13dc
Коммит 2d0f5f910a

Просмотреть файл

@@ -117,8 +117,6 @@ func TestHubStopRaceCondition(t *testing.T) {
}
func TestHubSessionRevokeRace(t *testing.T) {
t.Skip("MM-35239")
th := SetupWithStoreMock(t)
defer th.TearDown()
@@ -169,8 +167,7 @@ func TestHubSessionRevokeRace(t *testing.T) {
defer s.Close()
wc1 := registerDummyWebConn(t, th.App, s.Listener.Addr(), "testid")
hub := th.App.Srv().hubs[0]
hub.Register(wc1)
hub := th.App.GetHubForUserId(wc1.UserId)
done := make(chan bool)