path: be more lenient waiting for udev to settle things

Running tests in parallel can exceed the current 100ms max timeout for udev to
settle things. Since this pretty much only triggers in test cases anyway,
let's be more lenient here.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2015-05-19 10:24:36 +10:00
parent 75fd354aa3
commit b6eb43b537

View file

@ -310,7 +310,7 @@ udev_device_from_devnode(struct libinput *libinput,
dev = udev_device_new_from_devnum(udev, 'c', st.st_rdev);
count++;
if (count > 10) {
if (count > 50) {
log_bug_libinput(libinput,
"udev device never initialized (%s)\n",
devnode);