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 101948c948
commit a664ea995f
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -43,9 +43,9 @@ def test_pycryptodome(self):
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