diff options
Diffstat (limited to 'src/transport/test_quota_compliance.c')
-rw-r--r-- | src/transport/test_quota_compliance.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/transport/test_quota_compliance.c b/src/transport/test_quota_compliance.c index 2eacbd765..ec4b9a8db 100644 --- a/src/transport/test_quota_compliance.c +++ b/src/transport/test_quota_compliance.c | |||
@@ -36,7 +36,7 @@ | |||
36 | #include "transport.h" | 36 | #include "transport.h" |
37 | #include "transport-testing.h" | 37 | #include "transport-testing.h" |
38 | 38 | ||
39 | #define VERBOSE GNUNET_YES | 39 | #define VERBOSE GNUNET_NO |
40 | 40 | ||
41 | #define VERBOSE_ARM GNUNET_EXTRA_LOGGING | 41 | #define VERBOSE_ARM GNUNET_EXTRA_LOGGING |
42 | 42 | ||
@@ -52,7 +52,7 @@ | |||
52 | */ | 52 | */ |
53 | #define TIMEOUT_TRANSMIT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 2) | 53 | #define TIMEOUT_TRANSMIT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 2) |
54 | 54 | ||
55 | #define DURATION GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 10) | 55 | #define DURATION GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 5) |
56 | 56 | ||
57 | static char *test_source; | 57 | static char *test_source; |
58 | 58 | ||
@@ -90,6 +90,7 @@ struct GNUNET_TRANSPORT_TESTING_handle * tth; | |||
90 | 90 | ||
91 | static GNUNET_TRANSPORT_TESTING_ConnectRequest cc; | 91 | static GNUNET_TRANSPORT_TESTING_ConnectRequest cc; |
92 | 92 | ||
93 | |||
93 | /* | 94 | /* |
94 | * Testcase specific declarations | 95 | * Testcase specific declarations |
95 | */ | 96 | */ |
@@ -497,13 +498,13 @@ run_measurement (unsigned long long p1_quota_in, unsigned long long p1_quota_out | |||
497 | "Generated config file `%s'\n", | 498 | "Generated config file `%s'\n", |
498 | gen_cfg_p2); | 499 | gen_cfg_p2); |
499 | 500 | ||
500 | p1 = GNUNET_TRANSPORT_TESTING_start_peer (tth, gen_cfg_p1, 1, | 501 | p1 = GNUNET_TRANSPORT_TESTING_start_peer (tth, cfg_file_p1, 1, |
501 | ¬ify_receive, | 502 | ¬ify_receive, |
502 | ¬ify_connect, ¬ify_disconnect, | 503 | ¬ify_connect, ¬ify_disconnect, |
503 | &start_cb, | 504 | &start_cb, |
504 | NULL); | 505 | NULL); |
505 | 506 | ||
506 | p2 = GNUNET_TRANSPORT_TESTING_start_peer (tth, gen_cfg_p2, 2, | 507 | p2 = GNUNET_TRANSPORT_TESTING_start_peer (tth, cfg_file_p2, 2, |
507 | ¬ify_receive, | 508 | ¬ify_receive, |
508 | ¬ify_connect, ¬ify_disconnect, | 509 | ¬ify_connect, ¬ify_disconnect, |
509 | &start_cb, | 510 | &start_cb, |
@@ -632,7 +633,7 @@ main (int argc, char *argv[]) | |||
632 | 633 | ||
633 | GNUNET_TRANSPORT_TESTING_done (tth); | 634 | GNUNET_TRANSPORT_TESTING_done (tth); |
634 | 635 | ||
635 | return ret; | 636 | return test_failed; |
636 | } | 637 | } |
637 | 638 | ||
638 | 639 | ||