Fix errcheck issue on master (#30938)

This commit is contained in:
Harrison Healey
2025-05-05 16:36:25 +00:00
committed by GitHub
parent 1bca62dc83
commit 0c38d893e3
+2 -1
View File
@@ -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++ {