[PATCH libinput 2/2] test: up the timeout to 30s

Peter Hutterer peter.hutterer at who-t.net
Tue Jul 5 02:43:44 UTC 2016


10s is not enough when running the test suite in parallel as any test may have
to wait longer than that to get access to the udev lock. Especially for
tests with multiple timeouts it was too easy to trigger timeouts.

Up the timeout to 30s, this seems reliable enough now.

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 test/litest.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/litest.c b/test/litest.c
index 1250b3f..0df480e 100644
--- a/test/litest.c
+++ b/test/litest.c
@@ -3104,7 +3104,7 @@ main(int argc, char **argv)
 
 	list_init(&all_tests);
 
-	setenv("CK_DEFAULT_TIMEOUT", "10", 0);
+	setenv("CK_DEFAULT_TIMEOUT", "30", 0);
 	setenv("LIBINPUT_RUNNING_TEST_SUITE", "1", 1);
 
 	mode = litest_parse_argv(argc, argv);
-- 
2.7.4



More information about the wayland-devel mailing list