Skip to content

Commit 54846cd

Browse files
authored
PYTHON-5409 Update test_session.py comment (#2381)
1 parent a742aa2 commit 54846cd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/asynchronous/test_session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ async def test_implicit_sessions_checkout(self):
196196
lsid_set = set()
197197
listener = OvertCommandListener()
198198
client = await self.async_rs_or_single_client(event_listeners=[listener], maxPoolSize=1)
199-
# Retry up to 10 times because there is a known race that can cause multiple
199+
# Retry up to 10 times because there is a known race condition that can cause multiple
200200
# sessions to be used: connection check in happens before session check in
201201
for _ in range(10):
202202
cursor = client.db.test.find({})

test/test_session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def test_implicit_sessions_checkout(self):
196196
lsid_set = set()
197197
listener = OvertCommandListener()
198198
client = self.rs_or_single_client(event_listeners=[listener], maxPoolSize=1)
199-
# Retry up to 10 times because there is a known race that can cause multiple
199+
# Retry up to 10 times because there is a known race condition that can cause multiple
200200
# sessions to be used: connection check in happens before session check in
201201
for _ in range(10):
202202
cursor = client.db.test.find({})

0 commit comments

Comments
 (0)