diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-05-21 13:53:52 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-05-21 13:53:52 +0000 |
commit | 2bcfaa1c52e32b45aa29cfe09e98b174db8f879c (patch) | |
tree | 4dc7ed3b90771f0b90bd5b3c06ab5f527c805051 /src/gns | |
parent | 9dc126b6a047129630931aefe61e20454ef77c84 (diff) | |
download | gnunet-2bcfaa1c52e32b45aa29cfe09e98b174db8f879c.tar.gz gnunet-2bcfaa1c52e32b45aa29cfe09e98b174db8f879c.zip |
-increase timeouts, some system really need longer
Diffstat (limited to 'src/gns')
-rw-r--r-- | src/gns/gnunet-service-gns_resolver.c | 2 | ||||
-rwxr-xr-x | src/gns/test_gns_cname_lookup.sh | 2 | ||||
-rwxr-xr-x | src/gns/test_gns_gns2dns_lookup.sh | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/gns/gnunet-service-gns_resolver.c b/src/gns/gnunet-service-gns_resolver.c index 96d62afb8..058c64e44 100644 --- a/src/gns/gnunet-service-gns_resolver.c +++ b/src/gns/gnunet-service-gns_resolver.c | |||
@@ -51,7 +51,7 @@ | |||
51 | /** | 51 | /** |
52 | * Default timeout for DNS lookups. | 52 | * Default timeout for DNS lookups. |
53 | */ | 53 | */ |
54 | #define DNS_LOOKUP_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 5) | 54 | #define DNS_LOOKUP_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 15) |
55 | 55 | ||
56 | /** | 56 | /** |
57 | * Default timeout for VPN redirections. | 57 | * Default timeout for VPN redirections. |
diff --git a/src/gns/test_gns_cname_lookup.sh b/src/gns/test_gns_cname_lookup.sh index aef3f8138..789c7f30b 100755 --- a/src/gns/test_gns_cname_lookup.sh +++ b/src/gns/test_gns_cname_lookup.sh | |||
@@ -34,7 +34,7 @@ TEST_RECORD_CNAME_DNS="gnunet.org" | |||
34 | TEST_RECORD_NAME_SERVER="server" | 34 | TEST_RECORD_NAME_SERVER="server" |
35 | TEST_RECORD_NAME_PLUS="www" | 35 | TEST_RECORD_NAME_PLUS="www" |
36 | TEST_RECORD_NAME_DNS="www3" | 36 | TEST_RECORD_NAME_DNS="www3" |
37 | which timeout &> /dev/null && DO_TIMEOUT="timeout 5" | 37 | which timeout &> /dev/null && DO_TIMEOUT="timeout 15" |
38 | 38 | ||
39 | gnunet-arm -s -c test_gns_lookup.conf | 39 | gnunet-arm -s -c test_gns_lookup.conf |
40 | gnunet-identity -C testego -c test_gns_lookup.conf | 40 | gnunet-identity -C testego -c test_gns_lookup.conf |
diff --git a/src/gns/test_gns_gns2dns_lookup.sh b/src/gns/test_gns_gns2dns_lookup.sh index f6f158088..f7299a57d 100755 --- a/src/gns/test_gns_gns2dns_lookup.sh +++ b/src/gns/test_gns_gns2dns_lookup.sh | |||
@@ -50,7 +50,7 @@ gnunet-namestore -p -z testego -a -n $TEST_RESOLVER_LABEL -t A -V $TEST_IP_GNS2D | |||
50 | # map 'homepage.gnu' to 'gnunet.org' in DNS | 50 | # map 'homepage.gnu' to 'gnunet.org' in DNS |
51 | gnunet-namestore -p -z testego -a -n $TEST_RECORD_NAME -t GNS2DNS -V $TEST_RECORD_GNS2DNS -e never -c test_gns_lookup.conf | 51 | gnunet-namestore -p -z testego -a -n $TEST_RECORD_NAME -t GNS2DNS -V $TEST_RECORD_GNS2DNS -e never -c test_gns_lookup.conf |
52 | 52 | ||
53 | which timeout &> /dev/null && DO_TIMEOUT="timeout 5" | 53 | which timeout &> /dev/null && DO_TIMEOUT="timeout 15" |
54 | 54 | ||
55 | # lookup 'www.gnunet.org', IPv4 | 55 | # lookup 'www.gnunet.org', IPv4 |
56 | RES_IP=`$DO_TIMEOUT gnunet-gns --raw -z testego -u $TEST_DOMAIN -t A -c test_gns_lookup.conf` | 56 | RES_IP=`$DO_TIMEOUT gnunet-gns --raw -z testego -u $TEST_DOMAIN -t A -c test_gns_lookup.conf` |