Commit de17deed authored by Fabrice Bellet's avatar Fabrice Bellet Committed by Olivier Crête

test-send-recv: reduce deadlock timeout

parent 328d081d
...@@ -1138,7 +1138,7 @@ guint32 option_transmit_seed = 0; ...@@ -1138,7 +1138,7 @@ guint32 option_transmit_seed = 0;
guint32 option_receive_seed = 0; guint32 option_receive_seed = 0;
gsize option_n_bytes = 10000; gsize option_n_bytes = 10000;
guint option_n_messages = 50; guint option_n_messages = 50;
guint option_timeout = 1200; /* seconds */ guint option_timeout = 15; /* seconds */
gboolean option_long_mode = FALSE; gboolean option_long_mode = FALSE;
static GOptionEntry entries[] = { static GOptionEntry entries[] = {
...@@ -1151,7 +1151,7 @@ static GOptionEntry entries[] = { ...@@ -1151,7 +1151,7 @@ static GOptionEntry entries[] = {
{ "n-messages", 'm', 0, G_OPTION_ARG_INT64, &option_n_messages, { "n-messages", 'm', 0, G_OPTION_ARG_INT64, &option_n_messages,
"Number of messages to send in each test (default 50)", "M" }, "Number of messages to send in each test (default 50)", "M" },
{ "timeout", 't', 0, G_OPTION_ARG_INT, &option_timeout, { "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, { "long-mode", 'l', 0, G_OPTION_ARG_NONE, &option_long_mode,
"Enable all tests, rather than a fast subset", NULL }, "Enable all tests, rather than a fast subset", NULL },
{ NULL }, { NULL },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment