summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2020-04-19 15:53:11 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2020-04-19 16:04:58 +1000
commit975d03671396fab13b93f96499ea5199673e1b3d (patch)
tree676b51640e8e164a8be23b9527aeba9e203a603e /tools
parent28e7f623022d00f354d002c5adcf92fa476751cf (diff)
tools: measure-fuzz: sleep for 2 seconds to give the hwdb time
one second isn't always enough here. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/libinput-measure-fuzz.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/libinput-measure-fuzz.py b/tools/libinput-measure-fuzz.py
index eab7364f..c392d74a 100755
--- a/tools/libinput-measure-fuzz.py
+++ b/tools/libinput-measure-fuzz.py
@@ -277,10 +277,10 @@ def reload_and_trigger_udev(device):
print('Running systemd-hwdb update')
subprocess.run(['systemd-hwdb', 'update'], check=True)
syspath = device.path.replace('/dev/input/', '/sys/class/input/')
- time.sleep(1)
+ time.sleep(2)
print('Running udevadm trigger {}'.format(syspath))
subprocess.run(['udevadm', 'trigger', syspath], check=True)
- time.sleep(1)
+ time.sleep(2)
def test_hwdb_entry(device, fuzz):