aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/network/stream/visualized_snapshot_sync_sim_test.go
diff options
context:
space:
mode:
authorlash <nolash@users.noreply.github.com>2019-01-10 19:33:51 +0800
committerViktor TrĂ³n <viktor.tron@gmail.com>2019-01-10 19:33:51 +0800
commit7240f4d800d3ffb97cf23a27d13746428d761cec (patch)
tree7a632be60e304e1aed98a826dc526df48c3a1c0e /swarm/network/stream/visualized_snapshot_sync_sim_test.go
parent7ca40306af9da68a0d31439117246de8247f99d6 (diff)
downloadgo-tangerine-7240f4d800d3ffb97cf23a27d13746428d761cec.tar.gz
go-tangerine-7240f4d800d3ffb97cf23a27d13746428d761cec.tar.zst
go-tangerine-7240f4d800d3ffb97cf23a27d13746428d761cec.zip
swarm/network: Rename minproxbinsize, add as member of simulation (#18408)
* swarm/network: Rename minproxbinsize, add as member of simulation * swarm/network: Deactivate WaitTillHealthy, unreliable pending suggestpeer
Diffstat (limited to 'swarm/network/stream/visualized_snapshot_sync_sim_test.go')
-rw-r--r--swarm/network/stream/visualized_snapshot_sync_sim_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/swarm/network/stream/visualized_snapshot_sync_sim_test.go b/swarm/network/stream/visualized_snapshot_sync_sim_test.go
index 638eae6e3..18b4c8fb0 100644
--- a/swarm/network/stream/visualized_snapshot_sync_sim_test.go
+++ b/swarm/network/stream/visualized_snapshot_sync_sim_test.go
@@ -72,7 +72,7 @@ func setupSim(serviceMap map[string]simulation.ServiceFunc) (int, int, *simulati
func watchSim(sim *simulation.Simulation) (context.Context, context.CancelFunc) {
ctx, cancelSimRun := context.WithTimeout(context.Background(), 1*time.Minute)
- if _, err := sim.WaitTillHealthy(ctx, 2); err != nil {
+ if _, err := sim.WaitTillHealthy(ctx); err != nil {
panic(err)
}