D-Bus testing: more debug output for testNoTerm

The test randomly fails. Perhaps we can find out why with a dump
of the actual D-Bus exception.
This commit is contained in:
Patrick Ohly 2014-02-13 07:30:52 -08:00
parent 553703f237
commit f033cb9297
1 changed files with 2 additions and 1 deletions

View File

@ -1660,7 +1660,8 @@ class TestDBusServerTerm(DBusUtil, unittest.TestCase):
time.sleep(4)
try:
self.server.GetConfigs(True, utf8_strings=True)
except dbus.DBusException:
except dbus.DBusException, ex:
logging.printf('GetConfigs failed: %s', ex)
self.fail("dbus server should work correctly")
@timeout(100)