diff --git a/support/testing/tests/package/test_usbip.py b/support/testing/tests/package/test_usbip.py index 2fae8f7f6a..62c7b59814 100644 --- a/support/testing/tests/package/test_usbip.py +++ b/support/testing/tests/package/test_usbip.py @@ -1,4 +1,5 @@ import os +import time import infra.basetest @@ -91,6 +92,9 @@ class TestUsbIp(infra.basetest.BRTest): # keyboard. self.assertRunOk("usbip attach --remote=127.0.0.1 --busid=1-1") + # Wait a bit, to let the new keyboard be detected. + time.sleep(1) + # We check "lsusb" now sees exactly two QEMU USB Keyboards # (the original one, and a second one created by usbip). out, ret = self.emulator.run("lsusb")