From 0c12ebfc6616bc3932fa2f3ebf459078a2c14f6c Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Wed, 5 Oct 2011 17:31:51 +0000 Subject: Added testcase to check proper working of insertion of own ID into a 2dtorus dht --- src/dht/test_dht_2dtorus.conf | 78 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 src/dht/test_dht_2dtorus.conf (limited to 'src/dht/test_dht_2dtorus.conf') diff --git a/src/dht/test_dht_2dtorus.conf b/src/dht/test_dht_2dtorus.conf new file mode 100644 index 000000000..1c70c2ec4 --- /dev/null +++ b/src/dht/test_dht_2dtorus.conf @@ -0,0 +1,78 @@ +[PATHS] +SERVICEHOME = /tmp/test_dht_2dtours/ +DEFAULTCONFIG = test_dht_2dtours.conf + +[arm] +PORT = 10010 +DEFAULTSERVICES = core dht +#DEBUG = YES + +[statistics] +AUTOSTART = YES +PORT = 10000 + +[dht] +DEBUG = NO +AUTOSTART = YES +ACCEPT_FROM6 = ::1; +ACCEPT_FROM = 127.0.0.1; +HOSTNAME = localhost +PORT = 10001 + +[dns] +AUTOSTART = NO +PORT = 10011 + +[transport] +PORT = 10002 +AUTOSTART = YES + +[nat] +DISABLEV6 = YES +BINDTO = 127.0.0.1 +ENABLE_UPNP = NO +BEHIND_NAT = NO +ALLOW_NAT = NO +INTERNAL_ADDRESS = 127.0.0.1 +EXTERNAL_ADDRESS = 127.0.0.1 + +[core] +TOTAL_QUOTA_IN = 1024000 +TOTAL_QUOTA_OUT = 1024000 +AUTOSTART = YES +PORT = 10003 + +[peerinfo] +AUTOSTART = YES +PORT = 10004 + +[testing] +NUM_PEERS = 16 +WEAKRANDOM = YES +TOPOLOGY = 2D_TORUS +CONNECT_TOPOLOGY = NONE +#TOPOLOGY_FILE = small.dat +#CONNECT_TOPOLOGY = ERDOS_RENYI +#CONNECT_TOPOLOGY_OPTION = CONNECT_MINIMUM +#CONNECT_TOPOLOGY_OPTION_MODIFIER = 25 +#PERCENTAGE = 3 +#PROBABILITY = .1 +F2F = NO +CONNECT_TIMEOUT = 60 +CONNECT_ATTEMPTS = 3 +DEBUG = YES +HOSTKEYSFILE = ../../contrib/testing_hostkeys.dat +MAX_CONCURRENT_SSH = 10 +USE_PROGRESSBARS = YES +PEERGROUP_TIMEOUT = 2400 +TOPOLOGY_OUTPUT_FILE = 2dtorus_topo_initial +MAX_OUTSTANDING_CONNECTIONS = 75 +#SINGLE_PEERINFO_PER_HOST = YES +#NUM_PEERINFO_PER_HOST = 10 +#SINGLE_STATISTICS_PER_HOST = YES +#NUM_STATISTICS_PER_HOST = 10 +DELETE_FILES = YES + +[test_dht_2dtorus] +CONNECTION_LIMIT = 16 +DATA_OUTPUT_FILE=data_output -- cgit v1.2.3