From 1fc982c458e3d3b55556a67cc034c2cb5e07b38d Mon Sep 17 00:00:00 2001 From: "Schanzenbach, Martin" Date: Wed, 11 Dec 2019 13:51:56 +0100 Subject: [PATCH] fix #5988 --- src/topology/test_gnunet_daemon_topology.c | 5 ++++- src/topology/test_gnunet_daemon_topology_data.conf | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/topology/test_gnunet_daemon_topology.c b/src/topology/test_gnunet_daemon_topology.c index a7dace383..d1081515c 100644 --- a/src/topology/test_gnunet_daemon_topology.c +++ b/src/topology/test_gnunet_daemon_topology.c @@ -35,8 +35,11 @@ * for one peer to pass the test. Be aware that setting NUM_PEERS * too high can cause bandwidth problems for the testing peers. * Normal should be 5KB/s per peer. See gnunet-config -s ats. + * schanzen 12/2019: This _only_ makes sense if we connect to the + * actual network as in the test we do not connect to more than 1 peer. + * => reducing to 1 for now, was NUM_PEERS / 2 */ -#define THRESHOLD NUM_PEERS / 2 +#define THRESHOLD 1 /** * How long until we give up on connecting the peers? diff --git a/src/topology/test_gnunet_daemon_topology_data.conf b/src/topology/test_gnunet_daemon_topology_data.conf index 8d8636bff..b1b3e9b88 100644 --- a/src/topology/test_gnunet_daemon_topology_data.conf +++ b/src/topology/test_gnunet_daemon_topology_data.conf @@ -12,6 +12,10 @@ OVERLAY_TOPOLOGY=LINE [transport-tcp] BINDTO = 127.0.0.1 +# Do not try to connect to external network +[hostlist] +OPTIONS = + [nat] DISABLEV6 = YES ENABLE_UPNP = NO -- 2.25.1