mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 02:42:27 +00:00
swarm/network: decrease nodeCount for TestOverlaySim
TestOverlaySim consistently failed with `-race` flag on Travis. My assumption was that we hit Travis' memory limitations. After decreasing the node count the test started to pass. Note: `-race` may increase memory usage by 5-10x === RUN TestOverlaySim panic: Could not startup node network for mocker goroutine 35 [running]: github.com/ethereum/go-ethereum/p2p/simulations.startStop(0xc0002a7000, 0xc0002a8b40, 0x10) /home/travis/gopath/src/github.com/ethereum/go-ethereum/p2p/simulations/mocker.go:66 +0x8a0 created by github.com/ethereum/go-ethereum/p2p/simulations.(*Server).StartMocker /home/travis/gopath/src/github.com/ethereum/go-ethereum/p2p/simulations/http.go:348 +0x260 FAIL github.com/ethereum/go-ethereum/swarm/network/simulations 2.788s
This commit is contained in:
parent
ac41a75499
commit
baff204842
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ import (
|
|||
)
|
||||
|
||||
var (
|
||||
nodeCount = 16
|
||||
nodeCount = 10
|
||||
)
|
||||
|
||||
//This test is used to test the overlay simulation.
|
||||
|
|
|
|||
Loading…
Reference in a new issue