forked from TrueCloudLab/frostfs-node
[#203] pilorama: Refactor tests
Do not pass 0 as channel capacity. Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
8908798f59
commit
f32f61df87
1 changed files with 1 additions and 1 deletions
|
@ -747,7 +747,7 @@ func testForestTreeParallelApply(t *testing.T, constructor func(t testing.TB, _
|
|||
|
||||
actual := constructor(t, WithMaxBatchSize(batchSize))
|
||||
wg := new(sync.WaitGroup)
|
||||
ch := make(chan *Move, 0)
|
||||
ch := make(chan *Move)
|
||||
for i := 0; i < batchSize; i++ {
|
||||
wg.Add(1)
|
||||
go func() {
|
||||
|
|
Loading…
Reference in a new issue