summaryrefslogtreecommitdiff
path: root/auto_tests
diff options
context:
space:
mode:
authorRobin Linden <dev@robinlinden.eu>2019-11-02 15:35:21 +0100
committerRobin Linden <dev@robinlinden.eu>2019-11-02 15:35:21 +0100
commitf6235b5f8d01a64a9844d4879fcd73f264cdef18 (patch)
tree4b13c0784fe4304f09dd3b90ed5cfac7733004d7 /auto_tests
parent1f89a5718038288173145a96c68d4d7ab15d8a8a (diff)
Update tests to use a working bootstrap node
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 d9de339e..0552b313 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 0x2C, 0x28, 0x9F, 0x9F, 0x37, 0xC2, 0x0D, 0x09, 11 0x02, 0x80, 0x7C, 0xF4, 0xF8, 0xBB, 0x8F, 0xB3,
12 0xDA, 0x83, 0x56, 0x55, 0x88, 0xBF, 0x49, 0x6F, 12 0x90, 0xCC, 0x37, 0x94, 0xBD, 0xF1, 0xE8, 0x44,
13 0xAB, 0x37, 0x64, 0x85, 0x3F, 0xA3, 0x81, 0x41, 13 0x9E, 0x9A, 0x83, 0x92, 0xC5, 0xD3, 0xF2, 0x20,
14 0x81, 0x7A, 0x72, 0xE3, 0xF1, 0x8A, 0xCA, 0x0B, 14 0x00, 0x19, 0xDA, 0x9F, 0x1E, 0x81, 0x2E, 0x46,
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, "163.172.136.118", 33445, key, nullptr); 23 tox_bootstrap(tox_udp, "78.46.73.141", 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 79387291..7d821c20 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 0x2C, 0x28, 0x9F, 0x9F, 0x37, 0xC2, 0x0D, 0x09, 11 0x02, 0x80, 0x7C, 0xF4, 0xF8, 0xBB, 0x8F, 0xB3,
12 0xDA, 0x83, 0x56, 0x55, 0x88, 0xBF, 0x49, 0x6F, 12 0x90, 0xCC, 0x37, 0x94, 0xBD, 0xF1, 0xE8, 0x44,
13 0xAB, 0x37, 0x64, 0x85, 0x3F, 0xA3, 0x81, 0x41, 13 0x9E, 0x9A, 0x83, 0x92, 0xC5, 0xD3, 0xF2, 0x20,
14 0x81, 0x7A, 0x72, 0xE3, 0xF1, 0x8A, 0xCA, 0x0B, 14 0x00, 0x19, 0xDA, 0x9F, 0x1E, 0x81, 0x2E, 0x46,
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, "163.172.136.118", 33445, key, nullptr); 26 tox_bootstrap(tox_tcp, "78.46.73.141", 33445, key, nullptr);
27 tox_add_tcp_relay(tox_tcp, "163.172.136.118", 33445, key, nullptr); 27 tox_add_tcp_relay(tox_tcp, "78.46.73.141", 33445, key, nullptr);
28 28
29 printf("Waiting for connection"); 29 printf("Waiting for connection");
30 30