diff options
-rw-r--r-- | TODO | 15 | ||||
-rw-r--r-- | src/fs/Makefile.am | 12 | ||||
-rw-r--r-- | src/fs/perf_gnunet_service_fs_p2p_trust.c | 4 | ||||
-rw-r--r-- | src/fs/test_gnunet_service_fs_p2p.c | 7 |
4 files changed, 14 insertions, 24 deletions
@@ -1,17 +1,8 @@ | |||
1 | 0.9.0pre3: | 1 | 0.9.0pre3: |
2 | * FS [CG] | 2 | * FS [CG] |
3 | - perf_gnunet_service_fs_p2p_trust causes fs service to segfault | 3 | - perf_gnunet_service_fs_p2p_trust causes crashes of the service |
4 | - download of 100 MB file from 'leach' peer hung due to | 4 | and assertion failures |
5 | failure of core-api to call back after a change preference request | 5 | - test_gnunet_fs_ns.py doesn't run |
6 | (structs indicate request was transmitted but reply never received?) | ||
7 | => try again! | ||
8 | - test_gnunet_service_fs_p2p: | ||
9 | => sometimes DATASTORE get operation fails to queue on target (why?) | ||
10 | => do we need to just make the queue larger? | ||
11 | - with core queue size of 1, we get notify_transmit_ready | ||
12 | from core API returning NULL (why? ok? just have larger queue?) | ||
13 | - other runs (-L DEBUG) with downloads using the new 'trust' test show | ||
14 | non-deterministic results (for any set of peers) | ||
15 | - implement 'SUPPORT_DELAYS' | 6 | - implement 'SUPPORT_DELAYS' |
16 | 7 | ||
17 | 0.9.0: | 8 | 0.9.0: |
diff --git a/src/fs/Makefile.am b/src/fs/Makefile.am index f6aaeb209..0d8da5412 100644 --- a/src/fs/Makefile.am +++ b/src/fs/Makefile.am | |||
@@ -192,13 +192,13 @@ TESTS = \ | |||
192 | test_fs_unindex_persistence \ | 192 | test_fs_unindex_persistence \ |
193 | test_fs_uri \ | 193 | test_fs_uri \ |
194 | test_fs_test_lib \ | 194 | test_fs_test_lib \ |
195 | test_gnunet_service_fs_migration | 195 | test_gnunet_service_fs_migration \ |
196 | test_gnunet_service_fs_p2p \ | ||
197 | perf_gnunet_service_fs_p2p \ | ||
198 | perf_gnunet_service_fs_p2p_index \ | ||
199 | $(check_SCRIPTS) | ||
196 | endif | 200 | endif |
197 | # test_gnunet_service_fs_p2p \ | 201 | # perf_gnunet_service_fs_p2p_trust \ |
198 | # perf_gnunet_service_fs_p2p \ | ||
199 | # perf_gnunet_service_fs_p2p_index \ | ||
200 | # $(check_SCRIPTS) | ||
201 | #endif | ||
202 | 202 | ||
203 | 203 | ||
204 | 204 | ||
diff --git a/src/fs/perf_gnunet_service_fs_p2p_trust.c b/src/fs/perf_gnunet_service_fs_p2p_trust.c index 6611f143b..c15d5ebdb 100644 --- a/src/fs/perf_gnunet_service_fs_p2p_trust.c +++ b/src/fs/perf_gnunet_service_fs_p2p_trust.c | |||
@@ -460,7 +460,7 @@ main (int argc, char *argv[]) | |||
460 | }; | 460 | }; |
461 | progname = argv[0]; | 461 | progname = argv[0]; |
462 | GNUNET_DISK_directory_remove ("/tmp/gnunet-test-fs-lib/"); | 462 | GNUNET_DISK_directory_remove ("/tmp/gnunet-test-fs-lib/"); |
463 | GNUNET_log_setup ("perf_gnunet_service_fs_p2p_index", | 463 | GNUNET_log_setup ("perf_gnunet_service_fs_p2p_trust", |
464 | #if VERBOSE | 464 | #if VERBOSE |
465 | "DEBUG", | 465 | "DEBUG", |
466 | #else | 466 | #else |
@@ -468,7 +468,7 @@ main (int argc, char *argv[]) | |||
468 | #endif | 468 | #endif |
469 | NULL); | 469 | NULL); |
470 | GNUNET_PROGRAM_run ((sizeof (argvx) / sizeof (char *)) - 1, | 470 | GNUNET_PROGRAM_run ((sizeof (argvx) / sizeof (char *)) - 1, |
471 | argvx, "perf-gnunet-service-fs-p2p-index", | 471 | argvx, "perf-gnunet-service-fs-p2p-trust", |
472 | "nohelp", options, &run, NULL); | 472 | "nohelp", options, &run, NULL); |
473 | GNUNET_DISK_directory_remove ("/tmp/gnunet-test-fs-lib/"); | 473 | GNUNET_DISK_directory_remove ("/tmp/gnunet-test-fs-lib/"); |
474 | return ok; | 474 | return ok; |
diff --git a/src/fs/test_gnunet_service_fs_p2p.c b/src/fs/test_gnunet_service_fs_p2p.c index 4a7de8f2b..d21e700e5 100644 --- a/src/fs/test_gnunet_service_fs_p2p.c +++ b/src/fs/test_gnunet_service_fs_p2p.c | |||
@@ -26,18 +26,17 @@ | |||
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "fs_test_lib.h" | 27 | #include "fs_test_lib.h" |
28 | 28 | ||
29 | #define VERBOSE GNUNET_YES | 29 | #define VERBOSE GNUNET_NO |
30 | 30 | ||
31 | /** | 31 | /** |
32 | * File-size we use for testing. | 32 | * File-size we use for testing. |
33 | */ | 33 | */ |
34 | #define FILESIZE (1024 * 1024 * 200) | 34 | #define FILESIZE (1024 * 1024 * 1) |
35 | 35 | ||
36 | /** | 36 | /** |
37 | * How long until we give up on the download? | 37 | * How long until we give up on the download? |
38 | */ | 38 | */ |
39 | #define TIMEOUT GNUNET_TIME_UNIT_FOREVER_REL | 39 | #define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 300) |
40 | // GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 300) | ||
41 | 40 | ||
42 | #define NUM_DAEMONS 2 | 41 | #define NUM_DAEMONS 2 |
43 | 42 | ||