Commit 975d0367 authored by Peter Hutterer's avatar Peter Hutterer

tools: measure-fuzz: sleep for 2 seconds to give the hwdb time

one second isn't always enough here.
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent 28e7f623
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment