diff options
Diffstat (limited to 'src/transport/test_transport_api_restart_2peers.c')
-rw-r--r-- | src/transport/test_transport_api_restart_2peers.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/transport/test_transport_api_restart_2peers.c b/src/transport/test_transport_api_restart_2peers.c index 25054b536..e593b08fa 100644 --- a/src/transport/test_transport_api_restart_2peers.c +++ b/src/transport/test_transport_api_restart_2peers.c | |||
@@ -23,7 +23,6 @@ | |||
23 | * | 23 | * |
24 | * This test case starts 2 peers, connects and exchanges a message | 24 | * This test case starts 2 peers, connects and exchanges a message |
25 | * boths peer are restarted and tested if peers reconnect | 25 | * boths peer are restarted and tested if peers reconnect |
26 | * C code apparently. | ||
27 | */ | 26 | */ |
28 | #include "platform.h" | 27 | #include "platform.h" |
29 | #include "gnunet_transport_service.h" | 28 | #include "gnunet_transport_service.h" |
@@ -32,7 +31,7 @@ | |||
32 | /** | 31 | /** |
33 | * How long until we give up on transmitting the message? | 32 | * How long until we give up on transmitting the message? |
34 | */ | 33 | */ |
35 | #define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 90) | 34 | #define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 900) |
36 | 35 | ||
37 | /** | 36 | /** |
38 | * How long until we give up on transmitting the message? | 37 | * How long until we give up on transmitting the message? |
@@ -163,7 +162,9 @@ static void | |||
163 | restart (struct PeerContext *p, char *cfg_file) | 162 | restart (struct PeerContext *p, char *cfg_file) |
164 | { | 163 | { |
165 | GNUNET_assert (p != NULL); | 164 | GNUNET_assert (p != NULL); |
166 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Restarting peer %u (`%4s')\n", p->no, | 165 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
166 | "Restarting peer %u (`%4s')\n", | ||
167 | p->no, | ||
167 | GNUNET_i2s (&p->id)); | 168 | GNUNET_i2s (&p->id)); |
168 | GNUNET_TRANSPORT_TESTING_restart_peer (tth, p, cfg_file, &restart_cb, p); | 169 | GNUNET_TRANSPORT_TESTING_restart_peer (tth, p, cfg_file, &restart_cb, p); |
169 | } | 170 | } |