We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0361034 commit 510ca48Copy full SHA for 510ca48
tests/test_mysqlx_pooling.py
@@ -235,7 +235,7 @@ def test_get_session(self):
235
session = client.get_session()
236
self.assertTrue(isinstance(session, mysqlx.connection.Session))
237
sessions.append(session)
238
-
+ sleep(0.5)
239
# Verify the number of connections open in the server
240
connections = get_current_connections(old_session)
241
self.assertEqual(len(connections[self.users[0][0]]), total_connections)
@@ -244,6 +244,7 @@ def test_get_session(self):
244
# to the pool instead of being closed
245
sessions[5].close()
246
sessions[9].close()
247
248
249
self.assertTrue(len(connections[self.users[0][0]]) >=
250
(total_connections - 2))
0 commit comments