/**
* How long until we give up on transmitting the message?
*/
-#define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 60)
+#define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 120)
/**
* How long do we give the peers for content migration?
*/
-#define MIGRATION_DELAY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 5)
+#define MIGRATION_DELAY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 15)
#define SEED 42
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Failed to stop source daemon: %s\n",
emsg);
+ GNUNET_FS_uri_destroy (uri);
ok = 1;
return;
}
1, SEED, uri,
VERBOSE,
&do_stop, NULL);
+ GNUNET_FS_uri_destroy (uri);
}
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Waiting to allow content to migrate\n");
d = GNUNET_FS_uri_dup (uri);
- GNUNET_SCHEDULER_add_delayed (sched,
- MIGRATION_DELAY,
- &stop_source_peer,
- d);
+ (void) GNUNET_SCHEDULER_add_delayed (sched,
+ MIGRATION_DELAY,
+ &stop_source_peer,
+ d);
}
fprintf (stderr,
"Daemons failed to start!\n");
GNUNET_break (0);
- GNUNET_FS_TEST_daemons_stop (sched, 2, daemons);
ok = 1;
return;
}