diff options
author | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2019-12-11 13:51:56 +0100 |
---|---|---|
committer | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2019-12-11 13:51:56 +0100 |
commit | 1fc982c458e3d3b55556a67cc034c2cb5e07b38d (patch) | |
tree | eb95c1bd06230f57680fb2ae18eb6b268e8e9f99 /src/topology | |
parent | c20f5634b00819dfb9437532afa4e83273ed309c (diff) | |
download | gnunet-1fc982c458e3d3b55556a67cc034c2cb5e07b38d.tar.gz gnunet-1fc982c458e3d3b55556a67cc034c2cb5e07b38d.zip |
fix #5988
Diffstat (limited to 'src/topology')
-rw-r--r-- | src/topology/test_gnunet_daemon_topology.c | 5 | ||||
-rw-r--r-- | src/topology/test_gnunet_daemon_topology_data.conf | 4 |
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] |
13 | BINDTO = 127.0.0.1 | 13 | BINDTO = 127.0.0.1 |
14 | 14 | ||
15 | # Do not try to connect to external network | ||
16 | [hostlist] | ||
17 | OPTIONS = | ||
18 | |||
15 | [nat] | 19 | [nat] |
16 | DISABLEV6 = YES | 20 | DISABLEV6 = YES |
17 | ENABLE_UPNP = NO | 21 | ENABLE_UPNP = NO |