Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
barshaul committed Oct 9, 2024
1 parent 0398fc6 commit 3525d18
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions redis/src/cluster_async/connections_container.rs
Original file line number Diff line number Diff line change
Expand Up @@ -654,13 +654,9 @@ mod tests {
let container = create_container();
remove_all_connections(&container);

assert_eq!(
0,
container
.random_connections(1, ConnectionType::User)
.expect("No connections found")
.count()
);
assert!(container
.random_connections(1, ConnectionType::User)
.is_none());
}

#[test]
Expand Down

0 comments on commit 3525d18

Please sign in to comment.