Этот коммит содержится в:
Harrison Healey
2025-05-05 12:36:25 -04:00
коммит произвёл GitHub
родитель 1bca62dc83
Коммит 0c38d893e3

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

@@ -153,7 +153,8 @@ func TestHubSessionRevokeRace(t *testing.T) {
time.Sleep(2 * time.Second)
// We override the LastActivityAt which happens in NewWebConn.
// This is needed to call RevokeSessionById which triggers the race.
th.Service.AddSessionToCache(session)
err = th.Service.AddSessionToCache(session)
require.NoError(t, err)
go func() {
for i := 0; i <= broadcastQueueSize; i++ {