projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
2607cd0
)
testing api change
author
Nathan S. Evans
<evans@in.tum.de>
Mon, 10 May 2010 13:56:58 +0000
(13:56 +0000)
committer
Nathan S. Evans
<evans@in.tum.de>
Mon, 10 May 2010 13:56:58 +0000
(13:56 +0000)
src/fs/fs_test_lib.c
patch
|
blob
|
history
diff --git
a/src/fs/fs_test_lib.c
b/src/fs/fs_test_lib.c
index 97bf5dc7e8e61924410d7c2099d2587ebbfeb401..fba44eaeb6fdcbaf2271e727d1cfcc6da6124c6f 100644
(file)
--- a/
src/fs/fs_test_lib.c
+++ b/
src/fs/fs_test_lib.c
@@
-289,7
+289,7
@@
start_timeout (void *cls,
struct StartContext *sctx = cls;
unsigned int i;
struct StartContext *sctx = cls;
unsigned int i;
- GNUNET_TESTING_daemons_stop (sctx->group);
+ GNUNET_TESTING_daemons_stop (sctx->group
, GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 30)
);
for (i=0;i<sctx->total;i++)
{
if (i < sctx->have)
for (i=0;i<sctx->total;i++)
{
if (i < sctx->have)
@@
-354,6
+354,7
@@
GNUNET_FS_TEST_daemons_start (struct GNUNET_SCHEDULER_Handle *sched,
sctx->group = GNUNET_TESTING_daemons_start (sched,
sctx->cfg,
total,
sctx->group = GNUNET_TESTING_daemons_start (sched,
sctx->cfg,
total,
+ timeout,
NULL,
NULL,
¬ify_running,
NULL,
NULL,
¬ify_running,
@@
-450,7
+451,7
@@
GNUNET_FS_TEST_daemons_stop (struct GNUNET_SCHEDULER_Handle *sched,
unsigned int i;
GNUNET_assert (total > 0);
unsigned int i;
GNUNET_assert (total > 0);
- GNUNET_TESTING_daemons_stop (daemons[0]->group);
+ GNUNET_TESTING_daemons_stop (daemons[0]->group
, GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 30)
);
for (i=0;i<total;i++)
{
GNUNET_FS_stop (daemons[i]->fs);
for (i=0;i<total;i++)
{
GNUNET_FS_stop (daemons[i]->fs);