Skip to content

Commit

Permalink
Lowering the number of nodes spawned which is memory intensive. (#4193)
Browse files Browse the repository at this point in the history
  • Loading branch information
clemahieu committed Mar 21, 2023
1 parent 9369e4e commit ed66b2c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nano/core_test/node.cpp
Original file line number Diff line number Diff line change
@@ -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>
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit ed66b2c

Please sign in to comment.