[Telepathy-commits] [telepathy-gabble/master] gabbletest: don't wait for Gabble to exit

Simon McVittie simon.mcvittie at collabora.co.uk
Tue Jan 20 11:03:26 PST 2009


with-session-bus.sh will now do this if using refdbg, which means that
individual tests shouldn't need to.
---
 tests/twisted/gabbletest.py |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/tests/twisted/gabbletest.py b/tests/twisted/gabbletest.py
index 2b42f45..065902b 100644
--- a/tests/twisted/gabbletest.py
+++ b/tests/twisted/gabbletest.py
@@ -380,11 +380,6 @@ def exec_test_deferred (funs, params, protocol=None, timeout=None):
 
         conn.Disconnect()
 
-        if 'GABBLE_TEST_REFDBG' in os.environ:
-            # we have to wait that Gabble timeouts so the process is properly
-            # exited and refdbg can generates its report
-            time.sleep(5.5)
-
     except dbus.DBusException, e:
         pass
 
-- 
1.5.6.5




More information about the Telepathy-commits mailing list