aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSchanzenbach, Martin <mschanzenbach@posteo.de>2019-12-11 13:51:56 +0100
committerSchanzenbach, Martin <mschanzenbach@posteo.de>2019-12-11 13:51:56 +0100
commit1fc982c458e3d3b55556a67cc034c2cb5e07b38d (patch)
treeeb95c1bd06230f57680fb2ae18eb6b268e8e9f99
parentc20f5634b00819dfb9437532afa4e83273ed309c (diff)
downloadgnunet-1fc982c458e3d3b55556a67cc034c2cb5e07b38d.tar.gz
gnunet-1fc982c458e3d3b55556a67cc034c2cb5e07b38d.zip
fix #5988
-rw-r--r--src/topology/test_gnunet_daemon_topology.c5
-rw-r--r--src/topology/test_gnunet_daemon_topology_data.conf4
2 files changed, 8 insertions, 1 deletions
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 @@
35 * for one peer to pass the test. Be aware that setting NUM_PEERS 35 * for one peer to pass the test. Be aware that setting NUM_PEERS
36 * too high can cause bandwidth problems for the testing peers. 36 * too high can cause bandwidth problems for the testing peers.
37 * Normal should be 5KB/s per peer. See gnunet-config -s ats. 37 * Normal should be 5KB/s per peer. See gnunet-config -s ats.
38 * schanzen 12/2019: This _only_ makes sense if we connect to the
39 * actual network as in the test we do not connect to more than 1 peer.
40 * => reducing to 1 for now, was NUM_PEERS / 2
38 */ 41 */
39#define THRESHOLD NUM_PEERS / 2 42#define THRESHOLD 1
40 43
41/** 44/**
42 * How long until we give up on connecting the peers? 45 * 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
12[transport-tcp] 12[transport-tcp]
13BINDTO = 127.0.0.1 13BINDTO = 127.0.0.1
14 14
15# Do not try to connect to external network
16[hostlist]
17OPTIONS =
18
15[nat] 19[nat]
16DISABLEV6 = YES 20DISABLEV6 = YES
17ENABLE_UPNP = NO 21ENABLE_UPNP = NO