We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 295c958 commit 1fbaed5Copy full SHA for 1fbaed5
src/test/spec/retryable_reads.rs
@@ -242,10 +242,10 @@ async fn retry_read_same_mongos() {
242
let fp_guard = {
243
let mut client_options = client_options.clone();
244
client_options.direct_connection = Some(true);
245
- let s0 = Client::for_test().options(client_options).await;
+ let client = Client::for_test().options(client_options).await;
246
247
let fail_point = FailPoint::fail_command(&["find"], FailPointMode::Times(1)).error_code(6);
248
- s0.enable_fail_point(fail_point).await.unwrap()
+ client.enable_fail_point(fail_point).await.unwrap()
249
};
250
251
client_options.direct_connection = Some(false);
0 commit comments