[#600] adm/tests: Add missing WaitGroup.Add()
Some checks failed
Vulncheck / Vulncheck (pull_request) Successful in 10m13s
Build / Build Components (1.21) (pull_request) Successful in 12m24s
Build / Build Components (1.20) (pull_request) Successful in 13m46s
Tests and linters / Staticcheck (pull_request) Successful in 16m2s
Tests and linters / Tests (1.21) (pull_request) Failing after 19m12s
Tests and linters / Tests (1.20) (pull_request) Failing after 21m0s
Tests and linters / Lint (pull_request) Successful in 21m47s
Tests and linters / Tests with -race (pull_request) Failing after 22m17s
Some checks failed
Vulncheck / Vulncheck (pull_request) Successful in 10m13s
Build / Build Components (1.21) (pull_request) Successful in 12m24s
Build / Build Components (1.20) (pull_request) Successful in 13m46s
Tests and linters / Staticcheck (pull_request) Successful in 16m2s
Tests and linters / Tests (1.21) (pull_request) Failing after 19m12s
Tests and linters / Tests (1.20) (pull_request) Failing after 21m0s
Tests and linters / Lint (pull_request) Successful in 21m47s
Tests and linters / Tests with -race (pull_request) Failing after 22m17s
``` panic: sync: negative WaitGroup counter ``` Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
b44a8dd46c
commit
f28c32c74f
1 changed files with 1 additions and 0 deletions
|
@ -75,6 +75,7 @@ func TestGenerateAlphabet(t *testing.T) {
|
|||
var wg sync.WaitGroup
|
||||
for i := uint64(0); i < size; i++ {
|
||||
i := i
|
||||
wg.Add(1)
|
||||
go func() {
|
||||
defer wg.Done()
|
||||
p := filepath.Join(walletDir, innerring.GlagoliticLetter(i).String()+".json")
|
||||
|
|
Loading…
Reference in a new issue