summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test_stream_handlers.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_stream_handlers.py b/tests/test_stream_handlers.py
index a475b36c..dae4456d 100644
--- a/tests/test_stream_handlers.py
+++ b/tests/test_stream_handlers.py
@@ -104,6 +104,9 @@ class TestHandlers(SleekTest):
iq['query'] = 'test2'
self.send(iq)
+ # Give the event queue time to process.
+ time.sleep(0.1)
+
# Check that the waiter is no longer registered
waiter_exists = self.xmpp.removeHandler('IqWait_test2')