go-ethereum/swarm/network/simulations
Ferenc Szabo f0ad5986b8 swarm/network: smaller node count for discovery tests with -race
TestDiscoveryPersistenceSimulationSimAdapters failed on Travis with
`-race` flag present. The failure was due to extensive memory usage,
coming from the CGO runtime. Using a smaller node count resolves the
issue.

=== RUN   TestDiscoveryPersistenceSimulationSimAdapter
==7227==ERROR: ThreadSanitizer failed to allocate 0x80000 (524288) bytes of clock allocator (error code: 12)
FATAL: ThreadSanitizer CHECK failed: ./gotsan.cc:6976 "((0 && "unable to mmap")) != (0)" (0x0, 0x0)
FAIL    github.com/ethereum/go-ethereum/swarm/network/simulations/discovery     804.826s
2019-02-20 14:15:31 +01:00
..
discovery swarm/network: smaller node count for discovery tests with -race 2019-02-20 14:15:31 +01:00
overlay.go swarm/network: Rename minproxbinsize, add as member of simulation (#18408) 2019-01-10 12:33:51 +01:00
overlay_test.go p2p, swarm: fix node up races by granular locking (#18976) 2019-02-18 07:38:14 +01:00