summaryrefslogtreecommitdiff
path: root/auto_tests
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2018-09-25 21:19:07 +0000
committeriphydf <iphydf@users.noreply.github.com>2018-09-25 21:19:07 +0000
commit4f266f913d9e0ba181553f5e2d69462274ba1be5 (patch)
tree05af0d7c624ce5d7e3240fee597b13d3129e01bb /auto_tests
parentbfd288c196cfacda78d4b702c1540a0172ef5521 (diff)
Use a working DHT node for bootstrap tests.
A lot of bootstrap nodes are down :(.
Diffstat (limited to 'auto_tests')
-rw-r--r--auto_tests/bootstrap_test.c10
-rw-r--r--auto_tests/tcp_relay_test.c12
2 files changed, 11 insertions, 11 deletions
diff --git a/auto_tests/bootstrap_test.c b/auto_tests/bootstrap_test.c
index 7d1a2f06..86cbf99e 100644
--- a/auto_tests/bootstrap_test.c
+++ b/auto_tests/bootstrap_test.c
@@ -8,10 +8,10 @@
8#include "check_compat.h" 8#include "check_compat.h"
9 9
10static uint8_t const key[] = { 10static uint8_t const key[] = {
11 0x15, 0xE9, 0xC3, 0x09, 0xCF, 0xCB, 0x79, 0xFD, 11 0x2C, 0x28, 0x9F, 0x9F, 0x37, 0xC2, 0x0D, 0x09,
12 0xDF, 0x0E, 0xBA, 0x05, 0x7D, 0xAB, 0xB4, 0x9F, 12 0xDA, 0x83, 0x56, 0x55, 0x88, 0xBF, 0x49, 0x6F,
13 0xE1, 0x5F, 0x38, 0x03, 0xB1, 0xBF, 0xF0, 0x65, 13 0xAB, 0x37, 0x64, 0x85, 0x3F, 0xA3, 0x81, 0x41,
14 0x36, 0xAE, 0x2E, 0x5B, 0xA5, 0xE4, 0x69, 0x0E, 14 0x81, 0x7A, 0x72, 0xE3, 0xF1, 0x8A, 0xCA, 0x0B,
15}; 15};
16 16
17int main(void) 17int main(void)
@@ -20,7 +20,7 @@ int main(void)
20 20
21 Tox *tox_udp = tox_new_log(nullptr, nullptr, nullptr); 21 Tox *tox_udp = tox_new_log(nullptr, nullptr, nullptr);
22 22
23 tox_bootstrap(tox_udp, "tox.ngc.zone", 33445, key, nullptr); 23 tox_bootstrap(tox_udp, "163.172.136.118", 33445, key, nullptr);
24 24
25 printf("Waiting for connection"); 25 printf("Waiting for connection");
26 26
diff --git a/auto_tests/tcp_relay_test.c b/auto_tests/tcp_relay_test.c
index 4020b064..f2035f35 100644
--- a/auto_tests/tcp_relay_test.c
+++ b/auto_tests/tcp_relay_test.c
@@ -8,10 +8,10 @@
8#include "check_compat.h" 8#include "check_compat.h"
9 9
10static uint8_t const key[] = { 10static uint8_t const key[] = {
11 0x15, 0xE9, 0xC3, 0x09, 0xCF, 0xCB, 0x79, 0xFD, 11 0x2C, 0x28, 0x9F, 0x9F, 0x37, 0xC2, 0x0D, 0x09,
12 0xDF, 0x0E, 0xBA, 0x05, 0x7D, 0xAB, 0xB4, 0x9F, 12 0xDA, 0x83, 0x56, 0x55, 0x88, 0xBF, 0x49, 0x6F,
13 0xE1, 0x5F, 0x38, 0x03, 0xB1, 0xBF, 0xF0, 0x65, 13 0xAB, 0x37, 0x64, 0x85, 0x3F, 0xA3, 0x81, 0x41,
14 0x36, 0xAE, 0x2E, 0x5B, 0xA5, 0xE4, 0x69, 0x0E, 14 0x81, 0x7A, 0x72, 0xE3, 0xF1, 0x8A, 0xCA, 0x0B,
15}; 15};
16 16
17int main(void) 17int main(void)
@@ -23,8 +23,8 @@ int main(void)
23 Tox *tox_tcp = tox_new_log(opts, nullptr, nullptr); 23 Tox *tox_tcp = tox_new_log(opts, nullptr, nullptr);
24 tox_options_free(opts); 24 tox_options_free(opts);
25 25
26 tox_bootstrap(tox_tcp, "tox.ngc.zone", 33445, key, nullptr); 26 tox_bootstrap(tox_tcp, "163.172.136.118", 33445, key, nullptr);
27 tox_add_tcp_relay(tox_tcp, "tox.ngc.zone", 33445, key, nullptr); 27 tox_add_tcp_relay(tox_tcp, "163.172.136.118", 33445, key, nullptr);
28 28
29 printf("Waiting for connection"); 29 printf("Waiting for connection");
30 30