mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2025-12-20 04:20:04 +01:00
linux: Work-around potential race in test_headset_hotplug
This commit is contained in:
parent
38576a9bd7
commit
f8fe036331
1 changed files with 1 additions and 0 deletions
|
|
@ -2471,6 +2471,7 @@ class Tests(dbusmock.DBusTestCase):
|
|||
|
||||
self.testbed.add_from_file(os.path.join(edir, 'tests/steelseries-headset.device'))
|
||||
card = '/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/sound/card1'
|
||||
self.wait_for_mainloop()
|
||||
|
||||
devs = self.proxy.EnumerateDevices()
|
||||
self.assertEqual(len(devs), 1)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue