projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
set continued flag on client side -- towards fixing 1786:
[oweals/gnunet.git]
/
src
/
fs
/
test_gnunet_service_fs_migration.c
diff --git
a/src/fs/test_gnunet_service_fs_migration.c
b/src/fs/test_gnunet_service_fs_migration.c
index bbf2534d2e47c6aef98bacdb2a1a1b50e4feeb49..91caf103f2f443556a839ece5838306f1d4d37fe 100644
(file)
--- a/
src/fs/test_gnunet_service_fs_migration.c
+++ b/
src/fs/test_gnunet_service_fs_migration.c
@@
-27,7
+27,7
@@
#include "fs_test_lib.h"
#include "gnunet_testing_lib.h"
#include "fs_test_lib.h"
#include "gnunet_testing_lib.h"
-#define VERBOSE GNUNET_
NO
+#define VERBOSE GNUNET_
EXTRA_LOGGING
/**
* File-size we use for testing.
/**
* File-size we use for testing.
@@
-42,7
+42,7
@@
/**
* How long do we give the peers for content migration?
*/
/**
* How long do we give the peers for content migration?
*/
-#define MIGRATION_DELAY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS,
15
)
+#define MIGRATION_DELAY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS,
90
)
#define SEED 42
#define SEED 42
@@
-59,12
+59,12
@@
do_stop (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
{
struct GNUNET_TIME_Relative del;
char *fancy;
{
struct GNUNET_TIME_Relative del;
char *fancy;
-
+
if (NULL != cc)
if (NULL != cc)
-
{
-
GNUNET_FS_TEST_daemons_connect_cancel (cc);
-
cc = NULL;
-
}
+ {
+ GNUNET_FS_TEST_daemons_connect_cancel (cc);
+ cc = NULL;
+ }
GNUNET_FS_TEST_daemons_stop (2, daemons);
if (0 != (tc->reason & GNUNET_SCHEDULER_REASON_PREREQ_DONE))
{
GNUNET_FS_TEST_daemons_stop (2, daemons);
if (0 != (tc->reason & GNUNET_SCHEDULER_REASON_PREREQ_DONE))
{
@@
-173,8
+173,8
@@
do_connect (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
}
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Daemons started, will now try to connect them\n");
}
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Daemons started, will now try to connect them\n");
- cc = GNUNET_FS_TEST_daemons_connect (daemons[0], daemons[1], TIMEOUT,
&do_publish,
- NULL);
+ cc = GNUNET_FS_TEST_daemons_connect (daemons[0], daemons[1], TIMEOUT,
+
&do_publish,
NULL);
}
}