Skip to content

Commit f7e8e48

Browse files
committed
add await *facepalm*
1 parent 2a5484f commit f7e8e48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/asynchronous/test_connections_survive_primary_stepdown_spec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ async def _setup_class(cls):
5151
# Ensure connections to all servers in replica set. This is to test
5252
# that the is_writable flag is properly updated for connections that
5353
# survive a replica set election.
54-
async_ensure_all_connected(cls.client)
54+
await async_ensure_all_connected(cls.client)
5555
cls.listener.reset()
5656

5757
cls.db = cls.client.get_database("step-down", write_concern=WriteConcern("majority"))

0 commit comments

Comments
 (0)