Increase the timeout when doing a DBUS build test

This commit is contained in:
Kovid Goyal 2022-02-03 08:25:49 +05:30
parent 6c318c7aac
commit f375ec0809
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -43,9 +43,9 @@ class BuildTest(unittest.TestCase):
def test_dbus(self):
from jeepney.io.blocking import open_dbus_connection
if 'DBUS_SESSION_BUS_ADDRESS' in os.environ:
bus = open_dbus_connection(bus='SYSTEM')
bus = open_dbus_connection(bus='SYSTEM', auth_timeout=10.)
bus.close()
bus = open_dbus_connection(bus='SESSION')
bus = open_dbus_connection(bus='SESSION', auth_timeout=10.)
bus.close()
del bus