mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
p2p/simulations: increased snapshot load timeout for debugging
This commit is contained in:
parent
729bf365b5
commit
14eaab69ea
3 changed files with 3 additions and 1 deletions
|
|
@ -840,7 +840,7 @@ func (net *Network) snapshot(addServices []string, removeServices []string) (*Sn
|
||||||
return snap, nil
|
return snap, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
var snapshotLoadTimeout = 120 * time.Second
|
var snapshotLoadTimeout = 6000 * time.Second
|
||||||
|
|
||||||
// Load loads a network snapshot
|
// Load loads a network snapshot
|
||||||
func (net *Network) Load(snap *Snapshot) error {
|
func (net *Network) Load(snap *Snapshot) error {
|
||||||
|
|
|
||||||
|
|
@ -54,6 +54,7 @@ func TestFileRetrieval(t *testing.T) {
|
||||||
|
|
||||||
if *longrunning {
|
if *longrunning {
|
||||||
nodeCount = append(nodeCount, 32, 64, 128)
|
nodeCount = append(nodeCount, 32, 64, 128)
|
||||||
|
//nodeCount = append(nodeCount, 32, 64)
|
||||||
} else if testutil.RaceEnabled {
|
} else if testutil.RaceEnabled {
|
||||||
nodeCount = []int{4}
|
nodeCount = []int{4}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -96,6 +96,7 @@ func TestSyncingViaGlobalSync(t *testing.T) {
|
||||||
if *longrunning {
|
if *longrunning {
|
||||||
chunkCounts = []int{1, 8, 32, 256, 1024}
|
chunkCounts = []int{1, 8, 32, 256, 1024}
|
||||||
nodeCounts = []int{16, 32, 64, 128, 256}
|
nodeCounts = []int{16, 32, 64, 128, 256}
|
||||||
|
//nodeCounts = []int{16, 32, 64}
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, chunkCount := range chunkCounts {
|
for _, chunkCount := range chunkCounts {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue