Skip to content

Commit af33c5d

Browse files
authored
Update test_session.py
known race -> known race condition
1 parent 673f821 commit af33c5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_session.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,8 @@ 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
200-
# sessions to be used: connection check in happens before session check in
199+
# Retry up to 10 times because there is a known race condition that can cause
200+
# multiple sessions to be used: connection check in happens before session check in
201201
for _ in range(10):
202202
cursor = client.db.test.find({})
203203
ops: List[Tuple[Callable, List[Any]]] = [

0 commit comments

Comments
 (0)