Avoid trying to disconnect a neighbour twice
[oweals/gnunet.git] / src / transport / test_transport_api_reliability.c
index fcada3e8854bf7b81dbb870080ab7056816ce5dc..fac13840e8c37151a881102141caaa9abb16cedf 100644 (file)
 #include "gauger.h"
 #include "transport-testing.h"
 
+/**
+ * Allow making the problem "bigger".
+ */
+#define FACTOR 1
+
 /**
  * Total number of messages to send
  *
@@ -38,7 +43,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
 /**
  * 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)
 
 
 /**