Skip to content

Commit 04784a5

Browse files
committed
session: test_with_one_proxy_one -> "_one$"/""
The function mistakenly had the `one` part of its name duplicated.
1 parent 151f07a commit 04784a5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scylla-rust-wrapper/src/session.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,7 @@ mod tests {
868868
)]
869869
}
870870

871-
pub(crate) async fn test_with_one_proxy_one(
871+
pub(crate) async fn test_with_one_proxy(
872872
test: impl FnOnce(SocketAddr, RunningProxy) -> RunningProxy + Send + 'static,
873873
rules: impl IntoIterator<Item = RequestRule>,
874874
) {
@@ -899,7 +899,7 @@ mod tests {
899899
#[ntest::timeout(5000)]
900900
async fn session_clones_and_freezes_exec_profiles_mapping() {
901901
init_logger();
902-
test_with_one_proxy_one(
902+
test_with_one_proxy(
903903
session_clones_and_freezes_exec_profiles_mapping_do,
904904
handshake_rules()
905905
.into_iter()
@@ -994,7 +994,7 @@ mod tests {
994994
#[ntest::timeout(5000)]
995995
async fn session_resolves_exec_profile_on_first_query() {
996996
init_logger();
997-
test_with_one_proxy_one(
997+
test_with_one_proxy(
998998
session_resolves_exec_profile_on_first_query_do,
999999
handshake_rules().into_iter().chain(
10001000
iter::once(RequestRule(
@@ -1281,7 +1281,7 @@ mod tests {
12811281
#[ntest::timeout(30000)]
12821282
async fn retry_policy_on_statement_and_batch_is_handled_properly() {
12831283
init_logger();
1284-
test_with_one_proxy_one(
1284+
test_with_one_proxy(
12851285
retry_policy_on_statement_and_batch_is_handled_properly_do,
12861286
retry_policy_on_statement_and_batch_is_handled_properly_rules(),
12871287
)

0 commit comments

Comments
 (0)