From c775c23121df23863da861dbd76e31cc12d4b4dc Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 18 Mar 2024 09:25:02 +1000 Subject: [PATCH] test: slightly increase the finger switch timeout wait In touchpad_2fg_scroll_return_to_motion we sometimes fail because the timeout is too close to the actual timeout expiry, creating a race condition on whether the scroll stop event (triggered by the gesture end) is sent before or after the timeout expiry. Part-of: --- test/litest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/litest.c b/test/litest.c index dd262c06..ebe0a93b 100644 --- a/test/litest.c +++ b/test/litest.c @@ -4370,7 +4370,7 @@ litest_timeout_buttonscroll(void) void litest_timeout_finger_switch(void) { - msleep(120); + msleep(140); } void