From: Martin Schanzenbach Date: Thu, 5 Apr 2012 11:48:09 +0000 (+0000) Subject: -tests X-Git-Tag: initial-import-from-subversion-38251~13982 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=eb9ed4ce3dfb9eb0d89bc8b8ec83c4fa67fd957b;p=oweals%2Fgnunet.git -tests --- diff --git a/src/gns/test_gns_dht_delegated_lookup.c b/src/gns/test_gns_dht_delegated_lookup.c index b15bc3f49..96768aa5c 100644 --- a/src/gns/test_gns_dht_delegated_lookup.c +++ b/src/gns/test_gns_dht_delegated_lookup.c @@ -37,7 +37,7 @@ #define VERBOSE GNUNET_YES /* Timeout for entire testcase */ -#define TIMEOUT GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 5) +#define TIMEOUT GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 20) /* If number of peers not in config file, use this number */ #define DEFAULT_NUM_PEERS 2 diff --git a/src/gns/test_gns_max_queries.c b/src/gns/test_gns_max_queries.c index b95bff8c7..75cd877f2 100644 --- a/src/gns/test_gns_max_queries.c +++ b/src/gns/test_gns_max_queries.c @@ -36,7 +36,7 @@ #define VERBOSE GNUNET_YES /* Timeout for entire testcase */ -#define TIMEOUT GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 5) +#define TIMEOUT GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 20) /* If number of peers not in config file, use this number */ #define DEFAULT_NUM_PEERS 2 diff --git a/src/gns/test_gns_simple_delegated_lookup.c b/src/gns/test_gns_simple_delegated_lookup.c index 2006754da..05ed2fe77 100644 --- a/src/gns/test_gns_simple_delegated_lookup.c +++ b/src/gns/test_gns_simple_delegated_lookup.c @@ -50,7 +50,7 @@ #define VERBOSE GNUNET_YES /* Timeout for entire testcase */ -#define TIMEOUT GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 5) +#define TIMEOUT GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 20) /* If number of peers not in config file, use this number */ #define DEFAULT_NUM_PEERS 2 diff --git a/src/gns/test_gns_simple_get_authority.c b/src/gns/test_gns_simple_get_authority.c index 7ad890d95..d4359ca6d 100644 --- a/src/gns/test_gns_simple_get_authority.c +++ b/src/gns/test_gns_simple_get_authority.c @@ -36,7 +36,7 @@ #define VERBOSE GNUNET_YES /* Timeout for entire testcase */ -#define TIMEOUT GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 10) +#define TIMEOUT GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 20) /* If number of peers not in config file, use this number */ #define DEFAULT_NUM_PEERS 2 diff --git a/src/gns/test_gns_simple_lookup.c b/src/gns/test_gns_simple_lookup.c index 9cfde438d..c2843abaa 100644 --- a/src/gns/test_gns_simple_lookup.c +++ b/src/gns/test_gns_simple_lookup.c @@ -35,7 +35,7 @@ #define VERBOSE GNUNET_YES /* Timeout for entire testcase */ -#define TIMEOUT GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 5) +#define TIMEOUT GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 20) /* If number of peers not in config file, use this number */ #define DEFAULT_NUM_PEERS 2 diff --git a/src/gns/test_gns_simple_lookup.conf b/src/gns/test_gns_simple_lookup.conf index 410fe6319..9a21ebc9d 100644 --- a/src/gns/test_gns_simple_lookup.conf +++ b/src/gns/test_gns_simple_lookup.conf @@ -16,7 +16,7 @@ PORT = 2100 BINARY = gnunet-service-dht [block] -plugins = dht test gns +plugins = dht test namestore gns [dhtcache] QUOTA = 1 MB diff --git a/src/gns/test_gns_simple_mx_lookup.c b/src/gns/test_gns_simple_mx_lookup.c index caf95177c..2888bc396 100644 --- a/src/gns/test_gns_simple_mx_lookup.c +++ b/src/gns/test_gns_simple_mx_lookup.c @@ -36,7 +36,7 @@ #define VERBOSE GNUNET_YES /* Timeout for entire testcase */ -#define TIMEOUT GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 5) +#define TIMEOUT GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 20) /* If number of peers not in config file, use this number */ #define DEFAULT_NUM_PEERS 2 diff --git a/src/gns/test_gns_simple_shorten.c b/src/gns/test_gns_simple_shorten.c index 8a4dd2ec9..80f844f87 100644 --- a/src/gns/test_gns_simple_shorten.c +++ b/src/gns/test_gns_simple_shorten.c @@ -36,7 +36,7 @@ #define VERBOSE GNUNET_YES /* Timeout for entire testcase */ -#define TIMEOUT GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 5) +#define TIMEOUT GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 20) /* If number of peers not in config file, use this number */ #define DEFAULT_NUM_PEERS 2 diff --git a/src/gns/test_gns_simple_zkey_lookup.c b/src/gns/test_gns_simple_zkey_lookup.c index a24e605b9..729a53705 100644 --- a/src/gns/test_gns_simple_zkey_lookup.c +++ b/src/gns/test_gns_simple_zkey_lookup.c @@ -37,7 +37,7 @@ #define VERBOSE GNUNET_YES /* Timeout for entire testcase */ -#define TIMEOUT GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 5) +#define TIMEOUT GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 20) /* If number of peers not in config file, use this number */ #define DEFAULT_NUM_PEERS 2