go-ethereum/swarm/network/simulations/discovery
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.go swarm: network rewrite merge 2018-06-21 21:10:31 +02:00
discovery_test.go swarm/network: smaller node count for discovery tests with -race 2019-02-20 14:15:31 +01:00
snapshot.json all: new p2p node representation (#17643) 2018-09-25 00:59:00 +02:00