diff --git a/p2p/simulations/network.go b/p2p/simulations/network.go index 483d4ab87d..c02c9e2546 100644 --- a/p2p/simulations/network.go +++ b/p2p/simulations/network.go @@ -840,7 +840,7 @@ func (net *Network) snapshot(addServices []string, removeServices []string) (*Sn return snap, nil } -var snapshotLoadTimeout = 120 * time.Second +var snapshotLoadTimeout = 6000 * time.Second // Load loads a network snapshot func (net *Network) Load(snap *Snapshot) error { diff --git a/swarm/network/stream/snapshot_retrieval_test.go b/swarm/network/stream/snapshot_retrieval_test.go index 5e24a39f57..806277c3c2 100644 --- a/swarm/network/stream/snapshot_retrieval_test.go +++ b/swarm/network/stream/snapshot_retrieval_test.go @@ -54,6 +54,7 @@ func TestFileRetrieval(t *testing.T) { if *longrunning { nodeCount = append(nodeCount, 32, 64, 128) + //nodeCount = append(nodeCount, 32, 64) } else if testutil.RaceEnabled { nodeCount = []int{4} } diff --git a/swarm/network/stream/snapshot_sync_test.go b/swarm/network/stream/snapshot_sync_test.go index 330f39712b..09c6a98fda 100644 --- a/swarm/network/stream/snapshot_sync_test.go +++ b/swarm/network/stream/snapshot_sync_test.go @@ -96,6 +96,7 @@ func TestSyncingViaGlobalSync(t *testing.T) { if *longrunning { chunkCounts = []int{1, 8, 32, 256, 1024} nodeCounts = []int{16, 32, 64, 128, 256} + //nodeCounts = []int{16, 32, 64} } for _, chunkCount := range chunkCounts {