summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFabrice Bellet <fabrice@bellet.info>2016-06-16 20:58:41 +0200
committerOlivier CrĂȘte <olivier.crete@collabora.com>2016-06-20 18:06:27 -0400
commitde17deeda1ebfc27ca9a8ced93832a010329ff99 (patch)
treec343f880467f33dffadb8c00260df7af195e22f0 /tests
parent328d081db0370c6e8dc72a57d899d26d08c46f88 (diff)
downloadlibnice-de17deeda1ebfc27ca9a8ced93832a010329ff99.tar.gz
test-send-recv: reduce deadlock timeout
Diffstat (limited to 'tests')
-rw-r--r--tests/test-send-recv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-send-recv.c b/tests/test-send-recv.c
index 5841639..d853036 100644
--- a/tests/test-send-recv.c
+++ b/tests/test-send-recv.c
@@ -1138,7 +1138,7 @@ guint32 option_transmit_seed = 0;
guint32 option_receive_seed = 0;
gsize option_n_bytes = 10000;
guint option_n_messages = 50;
-guint option_timeout = 1200; /* seconds */
+guint option_timeout = 15; /* seconds */
gboolean option_long_mode = FALSE;
static GOptionEntry entries[] = {
@@ -1151,7 +1151,7 @@ static GOptionEntry entries[] = {
{ "n-messages", 'm', 0, G_OPTION_ARG_INT64, &option_n_messages,
"Number of messages to send in each test (default 50)", "M" },
{ "timeout", 't', 0, G_OPTION_ARG_INT, &option_timeout,
- "Deadlock detection timeout length, in seconds (default: 1200)", "S" },
+ "Deadlock detection timeout length, in seconds (default: 15)", "S" },
{ "long-mode", 'l', 0, G_OPTION_ARG_NONE, &option_long_mode,
"Enable all tests, rather than a fast subset", NULL },
{ NULL },