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 <[email protected]>
---
 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

_______________________________________________
wayland-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to