@@ -125,23 +125,23 @@ async def run_scenario(self, error_code, retry, pool_status_checker):
125
125
@async_client_context .require_version_min (4 , 2 , - 1 )
126
126
@async_client_context .require_test_commands
127
127
async def test_not_primary_keep_connection_pool (self ):
128
- self .run_scenario (10107 , True , self .verify_pool_not_cleared )
128
+ await self .run_scenario (10107 , True , self .verify_pool_not_cleared )
129
129
130
130
@async_client_context .require_version_min (4 , 0 , 0 )
131
131
@async_client_context .require_version_max (4 , 1 , 0 , - 1 )
132
132
@async_client_context .require_test_commands
133
133
async def test_not_primary_reset_connection_pool (self ):
134
- self .run_scenario (10107 , False , self .verify_pool_cleared )
134
+ await self .run_scenario (10107 , False , self .verify_pool_cleared )
135
135
136
136
@async_client_context .require_version_min (4 , 0 , 0 )
137
137
@async_client_context .require_test_commands
138
138
async def test_shutdown_in_progress (self ):
139
- self .run_scenario (91 , False , self .verify_pool_cleared )
139
+ await self .run_scenario (91 , False , self .verify_pool_cleared )
140
140
141
141
@async_client_context .require_version_min (4 , 0 , 0 )
142
142
@async_client_context .require_test_commands
143
143
async def test_interrupted_at_shutdown (self ):
144
- self .run_scenario (11600 , False , self .verify_pool_cleared )
144
+ await self .run_scenario (11600 , False , self .verify_pool_cleared )
145
145
146
146
147
147
if __name__ == "__main__" :
0 commit comments