File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -174,9 +174,8 @@ async def test_retryable_reads_in_sharded_cluster_multiple_available(self):
174
174
retryReads = True ,
175
175
)
176
176
177
- async with self .fail_point (fail_command ):
178
- with self .assertRaises (AutoReconnect ):
179
- await client .t .t .find_one ({})
177
+ with self .assertRaises (AutoReconnect ):
178
+ await client .t .t .find_one ({})
180
179
181
180
# Disable failpoints on each mongos
182
181
for client in mongos_clients :
Original file line number Diff line number Diff line change @@ -174,9 +174,8 @@ def test_retryable_reads_in_sharded_cluster_multiple_available(self):
174
174
retryReads = True ,
175
175
)
176
176
177
- with self .fail_point (fail_command ):
178
- with self .assertRaises (AutoReconnect ):
179
- client .t .t .find_one ({})
177
+ with self .assertRaises (AutoReconnect ):
178
+ client .t .t .find_one ({})
180
179
181
180
# Disable failpoints on each mongos
182
181
for client in mongos_clients :
You can’t perform that action at this time.
0 commit comments