Lowering the number of nodes spawned which is memory intensive. (#4193)
This commit is contained in:
parent
9369e4e66b
commit
ed66b2c8ca
1 changed files with 2 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
|||
#include <nano/lib/config.hpp>
|
||||
#include <nano/node/election.hpp>
|
||||
#include <nano/node/transport/fake.hpp>
|
||||
#include <nano/node/transport/inproc.hpp>
|
||||
|
@ -172,7 +173,7 @@ TEST (node, send_single_observing_peer)
|
|||
|
||||
TEST (node, send_single_many_peers)
|
||||
{
|
||||
nano::test::system system (10);
|
||||
nano::test::system system (nano::memory_intensive_instrumentation () ? 4 : 10);
|
||||
nano::keypair key2;
|
||||
system.wallet (0)->insert_adhoc (nano::dev::genesis_key.prv);
|
||||
system.wallet (1)->insert_adhoc (key2.prv);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue