diff options
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 @@ | |||
31 | #include "gauger.h" | 31 | #include "gauger.h" |
32 | #include "transport-testing.h" | 32 | #include "transport-testing.h" |
33 | 33 | ||
34 | |||
35 | /** | ||
36 | * Allow making the problem "bigger". | ||
37 | */ | ||
38 | #define FACTOR 10 | ||
39 | |||
34 | /** | 40 | /** |
35 | * Total number of messages to send | 41 | * Total number of messages to send |
36 | * | 42 | * |
@@ -38,7 +44,7 @@ | |||
38 | * 'MAX_PENDING' in 'gnunet-service-transport_clients.c', otherwise | 44 | * 'MAX_PENDING' in 'gnunet-service-transport_clients.c', otherwise |
39 | * messages may be dropped even for a reliable transport. | 45 | * messages may be dropped even for a reliable transport. |
40 | */ | 46 | */ |
41 | #define TOTAL_MSGS (1024 * 3) | 47 | #define TOTAL_MSGS (1024 * 3 * FACTOR) |
42 | 48 | ||
43 | /** | 49 | /** |
44 | * Message type of test messages | 50 | * Message type of test messages |
@@ -48,12 +54,12 @@ | |||
48 | /** | 54 | /** |
49 | * Testcase timeout | 55 | * Testcase timeout |
50 | */ | 56 | */ |
51 | #define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 90) | 57 | #define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 90 * FACTOR) |
52 | 58 | ||
53 | /** | 59 | /** |
54 | * How long until we give up on transmitting the message? | 60 | * How long until we give up on transmitting the message? |
55 | */ | 61 | */ |
56 | #define TIMEOUT_TRANSMIT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 60) | 62 | #define TIMEOUT_TRANSMIT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 60 * FACTOR) |
57 | 63 | ||
58 | 64 | ||
59 | /** | 65 | /** |