mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
swarm/network/stream: don't WaitTillHealthy in SyncerSimulation
This commit is contained in:
parent
8322e4738d
commit
83ecad8ce7
2 changed files with 1 additions and 5 deletions
|
|
@ -86,7 +86,7 @@ func TestRetrieval(t *testing.T) {
|
||||||
chnkCnt := []int{32}
|
chnkCnt := []int{32}
|
||||||
|
|
||||||
if *longrunning {
|
if *longrunning {
|
||||||
nodeCnt = []int{16, 32, 64}
|
nodeCnt = []int{16, 32, 128}
|
||||||
chnkCnt = []int{4, 32, 256}
|
chnkCnt = []int{4, 32, 256}
|
||||||
} else if testutil.RaceEnabled {
|
} else if testutil.RaceEnabled {
|
||||||
nodeCnt = []int{4}
|
nodeCnt = []int{4}
|
||||||
|
|
|
||||||
|
|
@ -173,10 +173,6 @@ func testSyncBetweenNodes(t *testing.T, nodes, chunkCount int, skipCheck bool, p
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// here we distribute chunks of a random file into stores 1...nodes
|
// here we distribute chunks of a random file into stores 1...nodes
|
||||||
if _, err := sim.WaitTillHealthy(ctx); err != nil {
|
|
||||||
return err
|
|
||||||
}
|
|
||||||
|
|
||||||
// collect hashes in po 1 bin for each node
|
// collect hashes in po 1 bin for each node
|
||||||
hashes := make([][]storage.Address, nodes)
|
hashes := make([][]storage.Address, nodes)
|
||||||
totalHashes := 0
|
totalHashes := 0
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue