PYTHON-5409 Update test_session.py comment (#2381)

This commit is contained in:
Jeffrey A. Clark 2025-06-11 19:24:59 -04:00 committed by GitHub
parent a742aa22d4
commit 54846cd110
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -196,7 +196,7 @@ class TestSession(AsyncIntegrationTest):
lsid_set = set()
listener = OvertCommandListener()
client = await self.async_rs_or_single_client(event_listeners=[listener], maxPoolSize=1)
# Retry up to 10 times because there is a known race that can cause multiple
# Retry up to 10 times because there is a known race condition that can cause multiple
# sessions to be used: connection check in happens before session check in
for _ in range(10):
cursor = client.db.test.find({})

View File

@ -196,7 +196,7 @@ class TestSession(IntegrationTest):
lsid_set = set()
listener = OvertCommandListener()
client = self.rs_or_single_client(event_listeners=[listener], maxPoolSize=1)
# Retry up to 10 times because there is a known race that can cause multiple
# Retry up to 10 times because there is a known race condition that can cause multiple
# sessions to be used: connection check in happens before session check in
for _ in range(10):
cursor = client.db.test.find({})