summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2024-03-18 09:25:02 +1000
committerMarge Bot <emma+marge@anholt.net>2024-03-18 16:25:47 +0000
commitc775c23121df23863da861dbd76e31cc12d4b4dc (patch)
tree8ba9ec1cbdd8e13ef216412af05b24d77066d842
parent30c6d5983db69ece5c3a94f837beaa9d736e9a4c (diff)
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: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/984>
-rw-r--r--test/litest.c2
1 files changed, 1 insertions, 1 deletions
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