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>
This commit is contained in:
Peter Hutterer 2024-03-18 09:25:02 +10:00 committed by Marge Bot
parent 30c6d5983d
commit c775c23121

View file

@ -4370,7 +4370,7 @@ litest_timeout_buttonscroll(void)
void
litest_timeout_finger_switch(void)
{
msleep(120);
msleep(140);
}
void