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 <>
parent 28e7f623
...@@ -277,10 +277,10 @@ def reload_and_trigger_udev(device): ...@@ -277,10 +277,10 @@ def reload_and_trigger_udev(device):
print('Running systemd-hwdb update') print('Running systemd-hwdb update')['systemd-hwdb', 'update'], check=True)['systemd-hwdb', 'update'], check=True)
syspath = device.path.replace('/dev/input/', '/sys/class/input/') syspath = device.path.replace('/dev/input/', '/sys/class/input/')
time.sleep(1) time.sleep(2)
print('Running udevadm trigger {}'.format(syspath)) print('Running udevadm trigger {}'.format(syspath))['udevadm', 'trigger', syspath], check=True)['udevadm', 'trigger', syspath], check=True)
time.sleep(1) time.sleep(2)
def test_hwdb_entry(device, fuzz): 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