diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-05-27 12:15:12 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-05-27 12:15:12 +0000 |
commit | 9f589c7d5e5df521c5fc99d51e876a6fdcd24fa1 (patch) | |
tree | cdaf7e1da44d8b2260f3663b1e6984636a6880aa /src/fs/test_gnunet_service_fs_migration.c | |
parent | d4ba6f055c65ca1b2cbf49cd4b935bf9bb966649 (diff) | |
download | gnunet-9f589c7d5e5df521c5fc99d51e876a6fdcd24fa1.tar.gz gnunet-9f589c7d5e5df521c5fc99d51e876a6fdcd24fa1.zip |
logging, minor fixes
Diffstat (limited to 'src/fs/test_gnunet_service_fs_migration.c')
-rw-r--r-- | src/fs/test_gnunet_service_fs_migration.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fs/test_gnunet_service_fs_migration.c b/src/fs/test_gnunet_service_fs_migration.c index 94e959f14..9cf8c3773 100644 --- a/src/fs/test_gnunet_service_fs_migration.c +++ b/src/fs/test_gnunet_service_fs_migration.c | |||
@@ -37,12 +37,12 @@ | |||
37 | /** | 37 | /** |
38 | * How long until we give up on transmitting the message? | 38 | * How long until we give up on transmitting the message? |
39 | */ | 39 | */ |
40 | #define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 600) | 40 | #define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 5) |
41 | 41 | ||
42 | /** | 42 | /** |
43 | * How long do we give the peers for content migration? | 43 | * How long do we give the peers for content migration? |
44 | */ | 44 | */ |
45 | #define MIGRATION_DELAY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 60) | 45 | #define MIGRATION_DELAY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 5) |
46 | 46 | ||
47 | #define SEED 42 | 47 | #define SEED 42 |
48 | 48 | ||
@@ -236,7 +236,7 @@ main (int argc, char *argv[]) | |||
236 | GNUNET_GETOPT_OPTION_END | 236 | GNUNET_GETOPT_OPTION_END |
237 | }; | 237 | }; |
238 | 238 | ||
239 | GNUNET_DISK_directory_remove ("/tmp/gnunet-test-fs-lib/"); | 239 | GNUNET_DISK_directory_remove ("/tmp/test-gnunet-service-fs-migration/"); |
240 | GNUNET_log_setup ("test_gnunet_service_fs_migration", | 240 | GNUNET_log_setup ("test_gnunet_service_fs_migration", |
241 | #if VERBOSE | 241 | #if VERBOSE |
242 | "DEBUG", | 242 | "DEBUG", |
@@ -247,7 +247,7 @@ main (int argc, char *argv[]) | |||
247 | GNUNET_PROGRAM_run ((sizeof (argvx) / sizeof (char *)) - 1, | 247 | GNUNET_PROGRAM_run ((sizeof (argvx) / sizeof (char *)) - 1, |
248 | argvx, "test-gnunet-service-fs-migration", | 248 | argvx, "test-gnunet-service-fs-migration", |
249 | "nohelp", options, &run, NULL); | 249 | "nohelp", options, &run, NULL); |
250 | GNUNET_DISK_directory_remove ("/tmp/gnunet-test-fs-lib/"); | 250 | GNUNET_DISK_directory_remove ("/tmp/test-gnunet-service-fs-migration/"); |
251 | return ok; | 251 | return ok; |
252 | } | 252 | } |
253 | 253 | ||