diff options
Diffstat (limited to 'src/migration/test_gnunet_daemon_migration.c')
-rw-r--r-- | src/migration/test_gnunet_daemon_migration.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/migration/test_gnunet_daemon_migration.c b/src/migration/test_gnunet_daemon_migration.c index 3f7ffeda8..33cf5bb04 100644 --- a/src/migration/test_gnunet_daemon_migration.c +++ b/src/migration/test_gnunet_daemon_migration.c | |||
@@ -55,7 +55,7 @@ static void | |||
55 | clean_up_task (void *cls, | 55 | clean_up_task (void *cls, |
56 | const struct GNUNET_SCHEDULER_TaskContext *tc) | 56 | const struct GNUNET_SCHEDULER_TaskContext *tc) |
57 | { | 57 | { |
58 | GNUNET_TESTING_daemons_stop (pg); | 58 | GNUNET_TESTING_daemons_stop (pg, TIMEOUT); |
59 | ok = 0; | 59 | ok = 0; |
60 | } | 60 | } |
61 | 61 | ||
@@ -75,7 +75,7 @@ notify_connect_complete(void *cls, | |||
75 | fprintf (stderr, | 75 | fprintf (stderr, |
76 | "Failed to connect two peers: %s\n", | 76 | "Failed to connect two peers: %s\n", |
77 | emsg); | 77 | emsg); |
78 | GNUNET_TESTING_daemons_stop (pg); | 78 | GNUNET_TESTING_daemons_stop (pg, TIMEOUT); |
79 | GNUNET_assert (0); | 79 | GNUNET_assert (0); |
80 | return; | 80 | return; |
81 | } | 81 | } |
@@ -137,6 +137,7 @@ run (void *cls, | |||
137 | peers_left = NUM_PEERS; | 137 | peers_left = NUM_PEERS; |
138 | pg = GNUNET_TESTING_daemons_start (sched, cfg, | 138 | pg = GNUNET_TESTING_daemons_start (sched, cfg, |
139 | peers_left, | 139 | peers_left, |
140 | TIMEOUT, | ||
140 | NULL, NULL, | 141 | NULL, NULL, |
141 | &my_cb, NULL, NULL, NULL, NULL); | 142 | &my_cb, NULL, NULL, NULL, NULL); |
142 | GNUNET_assert (pg != NULL); | 143 | GNUNET_assert (pg != NULL); |