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

Automatic Merge
This commit is contained in:
Agniva De Sarker
2021-04-28 11:36:05 +02:00
committed by GitHub
parent 79dd9b13dc
commit 2d0f5f910a
+1 -4
View File
@@ -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)