[#600] adm/tests: Add missing WaitGroup.Add() #601

Merged
fyrchik merged 1 commit from fyrchik/frostfs-node:adm-race into master 2023-08-11 09:50:10 +00:00

View file

@ -75,6 +75,7 @@ func TestGenerateAlphabet(t *testing.T) {
var wg sync.WaitGroup var wg sync.WaitGroup
for i := uint64(0); i < size; i++ { for i := uint64(0); i < size; i++ {
i := i i := i
wg.Add(1)
go func() { go func() {
defer wg.Done() defer wg.Done()
p := filepath.Join(walletDir, innerring.GlagoliticLetter(i).String()+".json") p := filepath.Join(walletDir, innerring.GlagoliticLetter(i).String()+".json")