aboutsummaryrefslogtreecommitdiff
path: root/src/testing/test_testing_connect.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/test_testing_connect.c')
-rw-r--r--src/testing/test_testing_connect.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testing/test_testing_connect.c b/src/testing/test_testing_connect.c
index a55207cec..3ce8acd71 100644
--- a/src/testing/test_testing_connect.c
+++ b/src/testing/test_testing_connect.c
@@ -69,14 +69,14 @@ static void
69end1_cb (void *cls, const char *emsg) 69end1_cb (void *cls, const char *emsg)
70{ 70{
71 GNUNET_assert (emsg == NULL); 71 GNUNET_assert (emsg == NULL);
72 GNUNET_TESTING_daemon_stop (d2, &end2_cb, NULL, GNUNET_YES); 72 GNUNET_TESTING_daemon_stop (d2, TIMEOUT, &end2_cb, NULL, GNUNET_YES);
73 d2 = NULL; 73 d2 = NULL;
74} 74}
75 75
76static void 76static void
77finish_testing(void *cls, const struct GNUNET_SCHEDULER_TaskContext * tc) 77finish_testing(void *cls, const struct GNUNET_SCHEDULER_TaskContext * tc)
78{ 78{
79 GNUNET_TESTING_daemon_stop (d1, &end1_cb, NULL, GNUNET_YES); 79 GNUNET_TESTING_daemon_stop (d1, TIMEOUT, &end1_cb, NULL, GNUNET_YES);
80 d1 = NULL; 80 d1 = NULL;
81} 81}
82 82
@@ -121,7 +121,7 @@ my_cb1 (void *cls,
121 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 121 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
122 "Daemon `%s' started.\n", GNUNET_i2s (id)); 122 "Daemon `%s' started.\n", GNUNET_i2s (id));
123#endif 123#endif
124 d2 = GNUNET_TESTING_daemon_start (sched, c2, NULL, NULL, NULL, &my_cb2, NULL); 124 d2 = GNUNET_TESTING_daemon_start (sched, c2, TIMEOUT, NULL, NULL, NULL, &my_cb2, NULL);
125 GNUNET_assert (d2 != NULL); 125 GNUNET_assert (d2 != NULL);
126 126
127} 127}
@@ -142,7 +142,7 @@ run (void *cls,
142 GNUNET_CONFIGURATION_parse (c1, "test_testing_connect_peer1.conf"); 142 GNUNET_CONFIGURATION_parse (c1, "test_testing_connect_peer1.conf");
143 c2 = GNUNET_CONFIGURATION_create (); 143 c2 = GNUNET_CONFIGURATION_create ();
144 GNUNET_CONFIGURATION_parse (c2, "test_testing_connect_peer2.conf"); 144 GNUNET_CONFIGURATION_parse (c2, "test_testing_connect_peer2.conf");
145 d1 = GNUNET_TESTING_daemon_start (sched, c1, NULL, NULL, NULL, &my_cb1, NULL); 145 d1 = GNUNET_TESTING_daemon_start (sched, c1, TIMEOUT, NULL, NULL, NULL, &my_cb1, NULL);
146 GNUNET_assert (d1 != NULL); 146 GNUNET_assert (d1 != NULL);
147} 147}
148 148