From: Nathan S. Evans Date: Mon, 10 May 2010 13:56:50 +0000 (+0000) Subject: testing api change X-Git-Tag: initial-import-from-subversion-38251~21791 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2607cd0f2ba46e1d6f3d8bd47202b1e0da3e00e6;p=oweals%2Fgnunet.git testing api change --- 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 clean_up_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) { - GNUNET_TESTING_daemons_stop (pg); + GNUNET_TESTING_daemons_stop (pg, TIMEOUT); ok = 0; } @@ -75,7 +75,7 @@ notify_connect_complete(void *cls, fprintf (stderr, "Failed to connect two peers: %s\n", emsg); - GNUNET_TESTING_daemons_stop (pg); + GNUNET_TESTING_daemons_stop (pg, TIMEOUT); GNUNET_assert (0); return; } @@ -137,6 +137,7 @@ run (void *cls, peers_left = NUM_PEERS; pg = GNUNET_TESTING_daemons_start (sched, cfg, peers_left, + TIMEOUT, NULL, NULL, &my_cb, NULL, NULL, NULL, NULL); GNUNET_assert (pg != NULL);