summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--slixmpp/test/integration.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/slixmpp/test/integration.py b/slixmpp/test/integration.py
index d15019cc..758ad239 100644
--- a/slixmpp/test/integration.py
+++ b/slixmpp/test/integration.py
@@ -53,7 +53,8 @@ class SlixIntegration(IsolatedAsyncioTestCase):
"""Connect all clients"""
for client in self.clients:
client.connect()
- await client.wait_until('session_start')
+ wait = [client.wait_until('session_start') for client in self.clients]
+ await asyncio.gather(*wait)
async def _destroy(self):
"""Kill all clients"""