swarm/network/stream: don't WaitTillHealthy in SyncerSimulation

This commit is contained in:
Fabio Barone 2019-03-04 15:20:05 -05:00
parent 8322e4738d
commit 83ecad8ce7
2 changed files with 1 additions and 5 deletions

View file

@ -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}

View file

@ -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