Skip to content

Commit

Permalink
remov bind check, it's not included in redis 6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
nihohit committed Sep 18, 2023
1 parent 849bd60 commit 445505a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions redis/tests/test_cluster_async.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ fn test_async_route_info_to_nodes() {
assert_eq!(infos.len(), 12);
for i in 0..12 {
let split: Vec<_> = addresses[i].split(':').collect();
assert!(infos[i].contains(&format!("bind={}", split[0])));
assert!(infos[i].contains(&format!("port={}", split[1])));
}

Expand All @@ -178,7 +177,6 @@ fn test_async_route_info_to_nodes() {
for i in 0..6 {
assert!(cluster_addresses.contains(&addresses[i]));
let split: Vec<_> = addresses[i].split(':').collect();
assert!(infos[i].contains(&format!("bind={}", split[0])));
assert!(infos[i].contains(&format!("port={}", split[1])));
assert!(infos[i].contains("role:primary") || infos[i].contains("role:master"));
}
Expand Down

0 comments on commit 445505a

Please sign in to comment.