diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-03-17 09:12:22 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-03-17 09:12:22 +0000 |
commit | 185c64be9e8bde2d934fcc239cceb23e3c405f49 (patch) | |
tree | 2e93ed6b7356f3312697ba099860295a746a1e88 /src/transport/test_transport_api_reliability.c | |
parent | 15979c403a13e38d0e8f81aae34eaaf2a0504838 (diff) |
consistently call deq before qc
Diffstat (limited to 'src/transport/test_transport_api_reliability.c')
-rw-r--r-- | src/transport/test_transport_api_reliability.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/transport/test_transport_api_reliability.c b/src/transport/test_transport_api_reliability.c index fcada3e88..e24530008 100644 --- a/src/transport/test_transport_api_reliability.c +++ b/src/transport/test_transport_api_reliability.c @@ -31,6 +31,12 @@ #include "gauger.h" #include "transport-testing.h" + +/** + * Allow making the problem "bigger". + */ +#define FACTOR 10 + /** * Total number of messages to send * @@ -38,7 +44,7 @@ * 'MAX_PENDING' in 'gnunet-service-transport_clients.c', otherwise * messages may be dropped even for a reliable transport. */ -#define TOTAL_MSGS (1024 * 3) +#define TOTAL_MSGS (1024 * 3 * FACTOR) /** * Message type of test messages @@ -48,12 +54,12 @@ /** * Testcase timeout */ -#define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 90) +#define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 90 * FACTOR) /** * How long until we give up on transmitting the message? */ -#define TIMEOUT_TRANSMIT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 60) +#define TIMEOUT_TRANSMIT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 60 * FACTOR) /** |