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>feature/blobstor_concurrent_tests
parent
8908798f59
commit
f32f61df87
|
@ -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 New Issue