Skip to content

Commit 1fbaed5

Browse files
committed
Rename s0 to client
1 parent 295c958 commit 1fbaed5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/spec/retryable_reads.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,10 +242,10 @@ async fn retry_read_same_mongos() {
242242
let fp_guard = {
243243
let mut client_options = client_options.clone();
244244
client_options.direct_connection = Some(true);
245-
let s0 = Client::for_test().options(client_options).await;
245+
let client = Client::for_test().options(client_options).await;
246246

247247
let fail_point = FailPoint::fail_command(&["find"], FailPointMode::Times(1)).error_code(6);
248-
s0.enable_fail_point(fail_point).await.unwrap()
248+
client.enable_fail_point(fail_point).await.unwrap()
249249
};
250250

251251
client_options.direct_connection = Some(false);

0 commit comments

Comments
 (0)