[Telepathy-commits] [telepathy-gabble/master] fd.o#19161: jingle/test-dialects-outgoing: run the four tests in separate event loops
Simon McVittie
simon.mcvittie at collabora.co.uk
Mon Feb 2 09:50:40 PST 2009
It seems these tests don't play nicely with exec_tests, which tries to
share one stream between all the test functions - disconnecting causes
bits of Twisted machinery to lose their references to each other, making
tests after the first fail. I tried and failed to fix this in
exec_tests(), so someone with more Twisted-fu should have a look.
Meanwhile, let's work around the problem to avoid it blocking releases.
Partially addresses fd.o#19161.
---
tests/twisted/jingle/test-dialects-outgoing.py | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/tests/twisted/jingle/test-dialects-outgoing.py b/tests/twisted/jingle/test-dialects-outgoing.py
index 96d9210..d7accb3 100644
--- a/tests/twisted/jingle/test-dialects-outgoing.py
+++ b/tests/twisted/jingle/test-dialects-outgoing.py
@@ -128,6 +128,7 @@ def testg4(q, bus, conn, stream):
return worker(GtalkProtocol04(), q, bus, conn, stream)
if __name__ == '__main__':
- exec_tests([testg3, testg4, test015, test031])
-
-
+ exec_test(testg3)
+ exec_test(testg4)
+ exec_test(test015)
+ exec_test(test031)
--
1.5.6.5
More information about the Telepathy-commits
mailing list