diff --git a/app/web_hub_test.go b/app/web_hub_test.go index 4021125fb3..ce24143bc4 100644 --- a/app/web_hub_test.go +++ b/app/web_hub_test.go @@ -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)