diff --git a/swarm/storage/ldbstore_test.go b/swarm/storage/ldbstore_test.go index 6601693c8f..0d560d5187 100644 --- a/swarm/storage/ldbstore_test.go +++ b/swarm/storage/ldbstore_test.go @@ -296,7 +296,7 @@ func TestLDBStoreWithoutCollectGarbage(t *testing.T) { go ldb.Put(chunks[i]) } - // wait for all chunks to be stored before ending the test are cleaning up + // wait for all chunks to be stored for i := 0; i < n; i++ { <-chunks[i].dbStoredC } @@ -347,7 +347,7 @@ func TestLDBStoreCollectGarbage(t *testing.T) { ldb.Put(chunks[i]) } - // wait for all chunks to be stored before ending the test are cleaning up + // wait for all chunks to be stored for i := 0; i < n; i++ { <-chunks[i].dbStoredC }