mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 09:53:48 +00:00
swarm/storage: better comment
This commit is contained in:
parent
b13c3b4dbf
commit
04a0d11528
1 changed files with 2 additions and 2 deletions
|
|
@ -296,7 +296,7 @@ func TestLDBStoreWithoutCollectGarbage(t *testing.T) {
|
||||||
go ldb.Put(chunks[i])
|
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++ {
|
for i := 0; i < n; i++ {
|
||||||
<-chunks[i].dbStoredC
|
<-chunks[i].dbStoredC
|
||||||
}
|
}
|
||||||
|
|
@ -347,7 +347,7 @@ func TestLDBStoreCollectGarbage(t *testing.T) {
|
||||||
ldb.Put(chunks[i])
|
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++ {
|
for i := 0; i < n; i++ {
|
||||||
<-chunks[i].dbStoredC
|
<-chunks[i].dbStoredC
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue