From 72f297a3fca8fb36719f219db402420e0978d44f Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 26 Sep 2016 23:29:22 +0000 Subject: [PATCH] do not start unnecessary services while testing DHT --- src/dht/test_dht_2dtorus.conf | 1 + src/dht/test_dht_api_data.conf | 10 ++++++++++ src/dht/test_dht_api_peer1.conf | 8 ++++++++ src/dht/test_dht_line.conf | 1 + src/dht/test_dht_monitor.conf | 12 ++++++++++++ src/dht/test_dht_multipeer.conf | 1 + 6 files changed, 33 insertions(+) diff --git a/src/dht/test_dht_2dtorus.conf b/src/dht/test_dht_2dtorus.conf index 844f20431..c3fe5135f 100644 --- a/src/dht/test_dht_2dtorus.conf +++ b/src/dht/test_dht_2dtorus.conf @@ -5,6 +5,7 @@ GNUNET_TEST_HOME = /tmp/test_dht_2dtorus/ [dht] AUTOSTART = YES +FORCESTART = YES [dhtcache] QUOTA = 1 MB diff --git a/src/dht/test_dht_api_data.conf b/src/dht/test_dht_api_data.conf index 51cf99b0f..de9196107 100644 --- a/src/dht/test_dht_api_data.conf +++ b/src/dht/test_dht_api_data.conf @@ -1,3 +1,6 @@ +@INLINE@ ../../contrib/no_forcestart.conf +@INLINE@ ../../contrib/no_autostart_above_core.conf + [PATHS] GNUNET_TEST_HOME = /tmp/test-dht-api/ @@ -32,3 +35,10 @@ ALLOW_NAT = NO INTERNAL_ADDRESS = 127.0.0.1 EXTERNAL_ADDRESS = 127.0.0.1 +[dht] +AUTOSTART = YES +FORCESTART = YES + +[nse] +AUTOSTART = YES +WORKBITS = 1 diff --git a/src/dht/test_dht_api_peer1.conf b/src/dht/test_dht_api_peer1.conf index f38d6f1a3..0b9db1f8b 100644 --- a/src/dht/test_dht_api_peer1.conf +++ b/src/dht/test_dht_api_peer1.conf @@ -1,4 +1,5 @@ @INLINE@ ../../contrib/no_forcestart.conf +@INLINE@ ../../contrib/no_autostart_above_core.conf [dhtcache] QUOTA = 1 MB @@ -31,3 +32,10 @@ INTERNAL_ADDRESS = 127.0.0.1 EXTERNAL_ADDRESS = 127.0.0.1 USE_LOCALADDR = NO +[dht] +AUTOSTART = YES +FORCESTART = YES + +[nse] +AUTOSTART = YES +WORKBITS = 1 diff --git a/src/dht/test_dht_line.conf b/src/dht/test_dht_line.conf index 45badfae0..de91ed32b 100644 --- a/src/dht/test_dht_line.conf +++ b/src/dht/test_dht_line.conf @@ -5,6 +5,7 @@ GNUNET_TEST_HOME = /tmp/test_dht_line/ [dht] AUTOSTART = YES +FORCESTART = YES [dhtcache] QUOTA = 1 MB diff --git a/src/dht/test_dht_monitor.conf b/src/dht/test_dht_monitor.conf index 415a2e5fd..ed0dece58 100644 --- a/src/dht/test_dht_monitor.conf +++ b/src/dht/test_dht_monitor.conf @@ -1,3 +1,7 @@ +@INLINE@ ../../contrib/no_forcestart.conf +@INLINE@ ../../contrib/no_autostart_above_core.conf + + [dhtcache] QUOTA = 1 MB DATABASE = heap @@ -25,3 +29,11 @@ EXTERNAL_ADDRESS = 127.0.0.1 USE_LOCALADDR = YES RETURN_LOCAL_ADDRESSES = YES + +[dht] +AUTOSTART = YES +FORCESTART = YES + +[nse] +AUTOSTART = YES +WORKBITS = 1 diff --git a/src/dht/test_dht_multipeer.conf b/src/dht/test_dht_multipeer.conf index f113aa0f8..1d69dacfd 100644 --- a/src/dht/test_dht_multipeer.conf +++ b/src/dht/test_dht_multipeer.conf @@ -3,6 +3,7 @@ [dht] AUTOSTART = YES +FORCESTART = YES [dhtcache] QUOTA = 1 MB -- 2.25.1