mirror of
https://github.com/mattermost/mattermost.git
synced 2026-09-24 16:05:00 +08:00
Fix errcheck issue on master (#30938)
This commit is contained in:
@@ -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++ {
|
||||
|
||||
Reference in New Issue
Block a user