mirror of
https://github.com/mattermost/mattermost.git
synced 2026-05-28 04:35:04 -04:00
[MM-61259] Fix errcheck issues in server/channels/app/import_utils_test.go (#28955)
This commit is contained in:
parent
cb32e8baea
commit
89ea59f590
2 changed files with 4 additions and 2 deletions
|
|
@ -106,7 +106,6 @@ issues:
|
|||
channels/app/imaging/decode.go|\
|
||||
channels/app/import_functions.go|\
|
||||
channels/app/import_functions_test.go|\
|
||||
channels/app/import_utils_test.go|\
|
||||
channels/app/imports/import_validators.go|\
|
||||
channels/app/integration_action.go|\
|
||||
channels/app/integration_action_test.go|\
|
||||
|
|
|
|||
|
|
@ -35,7 +35,10 @@ func TestGeneratePassword(t *testing.T) {
|
|||
|
||||
t.Run("Should not fail on concurrent calls", func(t *testing.T) {
|
||||
for i := 0; i < 10; i++ {
|
||||
go generatePassword(10)
|
||||
go func() {
|
||||
_, err := generatePassword(10)
|
||||
require.NoError(t, err)
|
||||
}()
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue