diff options
author | Patrick Ohly <patrick.ohly@intel.com> | 2014-02-15 12:30:04 -0800 |
---|---|---|
committer | Patrick Ohly <patrick.ohly@intel.com> | 2014-02-16 20:56:14 +0100 |
commit | 969c7946064bd8625bc8e9b4ad167ad2770cd4fa (patch) | |
tree | 2301b0ff0569159528501d19bf9c7233908c6d52 | |
parent | 2e2767de7ce6d216139ec61f09190f077c4f8075 (diff) |
D-Bus testing: must ping server more often in testNoTerm
The test randomly failed under load because the client's GetVersion
call did not make it to the server in time. It seems to work better
with a smaller delay.
-rwxr-xr-x | test/test-dbus.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test-dbus.py b/test/test-dbus.py index 93c0f628..774c07d5 100755 --- a/test/test-dbus.py +++ b/test/test-dbus.py @@ -1656,8 +1656,8 @@ class TestDBusServerTerm(DBusUtil, unittest.TestCase): """The server should stay alive because we have dbus call within the duration. The loop is to make sure the total time is longer than duration and the dbus server still stays alive for dbus calls.""" - for i in range(0, 4): - time.sleep(4) + for i in range(0, 16): + time.sleep(1) try: self.server.GetConfigs(True, utf8_strings=True) except dbus.DBusException, ex: |