Skip to content

Commit 195d477

Browse files
Update test/asynchronous/test_server_selection_in_window.py
Co-authored-by: Noah Stapp <[email protected]>
1 parent 30e6c62 commit 195d477

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/asynchronous/test_server_selection_in_window.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ async def test_load_balancing(self):
152152
)
153153
await async_wait_until(lambda: len(client.nodes) == 2, "discover both nodes")
154154
# Wait for both pools to be populated.
155-
cmap_listener.wait_for_event(ConnectionReadyEvent, 20)
155+
await cmap_listener.async_wait_for_event(ConnectionReadyEvent, 20)
156156
# Delay find commands on only one mongos.
157157
delay_finds = {
158158
"configureFailPoint": "failCommand",

0 commit comments

Comments
 (0)