Skip to content

Commit a11b276

Browse files
committed
add missing await
1 parent 4f1aed8 commit a11b276

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
@@ -106,7 +106,7 @@ async def test_get_more_iteration(self):
106106

107107
async def run_scenario(self, error_code, retry, pool_status_checker):
108108
# Set fail point.
109-
self.set_fail_point(
109+
await self.set_fail_point(
110110
{"mode": {"times": 1}, "data": {"failCommands": ["insert"], "errorCode": error_code}}
111111
)
112112
self.addAsyncCleanup(self.set_fail_point, {"mode": "off"})

0 commit comments

Comments
 (0)