Skip to content

Commit 18e3821

Browse files
..
1 parent aabe23c commit 18e3821

File tree

1 file changed

+9
-9
lines changed
  • dpd-client/tests/integration_tests

1 file changed

+9
-9
lines changed

dpd-client/tests/integration_tests/mcast.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3876,7 +3876,7 @@ async fn test_multicast_group_id_recycling() -> TestResult {
38763876

38773877
switch.client.multicast_group_delete(&group_ip1).await?;
38783878

3879-
let group_ip2 = IpAddr::V4(Ipv4Addr::new(224, 0, 0, 100));
3879+
let group_ip2 = IpAddr::V4(Ipv4Addr::new(224, 0, 1, 100));
38803880
let external_create2 = types::MulticastGroupCreateExternalEntry {
38813881
group_ip: group_ip2,
38823882
tag: Some("recycling_test_2".to_string()),
@@ -3900,7 +3900,7 @@ async fn test_multicast_group_id_recycling() -> TestResult {
39003900
"Second group should have underlay group ID"
39013901
);
39023902

3903-
let group_ip3 = IpAddr::V4(Ipv4Addr::new(224, 0, 0, 101));
3903+
let group_ip3 = IpAddr::V4(Ipv4Addr::new(224, 0, 1, 101));
39043904
let external_create3 = types::MulticastGroupCreateExternalEntry {
39053905
group_ip: group_ip3,
39063906
tag: Some("recycling_test_3".to_string()),
@@ -3953,15 +3953,15 @@ async fn test_multicast_group_id_reuse() -> TestResult {
39533953
let mut deleted_underlay_ids = Vec::new();
39543954

39553955
for i in 0..5 {
3956-
let group_ip = IpAddr::V4(Ipv4Addr::new(224, 0, 0, 50 + i));
3956+
let group_ip = IpAddr::V4(Ipv4Addr::new(224, 0, 1, 50 + i));
39573957
let nat_target = create_nat_target_ipv4();
39583958
let external_create = types::MulticastGroupCreateExternalEntry {
39593959
group_ip,
39603960
tag: Some(format!("id_reuse_test_{}", i)),
39613961
nat_target,
39623962
vlan_id: Some(10),
39633963
sources: None,
3964-
};
3964+
};
39653965

39663966
let created_group = switch
39673967
.client
@@ -3979,7 +3979,7 @@ async fn test_multicast_group_id_reuse() -> TestResult {
39793979
switch.client.multicast_group_delete(&group_ip).await?;
39803980
}
39813981

3982-
let new_group_ip = IpAddr::V4(Ipv4Addr::new(224, 0, 0, 200));
3982+
let new_group_ip = IpAddr::V4(Ipv4Addr::new(224, 0, 1, 200));
39833983
let nat_target = create_nat_target_ipv4();
39843984
let new_external_create = types::MulticastGroupCreateExternalEntry {
39853985
group_ip: new_group_ip,
@@ -4045,15 +4045,15 @@ async fn test_multicast_group_id_pool_exhaustion_recovery() -> TestResult {
40454045
let num_groups = 10;
40464046

40474047
for i in 0..num_groups {
4048-
let group_ip = IpAddr::V4(Ipv4Addr::new(224, 0, 1, i as u8));
4048+
let group_ip = IpAddr::V4(Ipv4Addr::new(224, 0, 2, 10 + i as u8));
40494049
let nat_target = create_nat_target_ipv4();
40504050
let external_create = types::MulticastGroupCreateExternalEntry {
40514051
group_ip,
40524052
tag: Some(format!("pool_test_{}", i)),
40534053
nat_target,
40544054
vlan_id: Some(10),
40554055
sources: None,
4056-
};
4056+
};
40574057

40584058
let created_group = switch
40594059
.client
@@ -4078,15 +4078,15 @@ async fn test_multicast_group_id_pool_exhaustion_recovery() -> TestResult {
40784078

40794079
let mut new_groups = Vec::new();
40804080
for i in 0..num_groups / 2 {
4081-
let group_ip = IpAddr::V4(Ipv4Addr::new(224, 0, 2, i as u8));
4081+
let group_ip = IpAddr::V4(Ipv4Addr::new(224, 0, 3, 10 + i as u8));
40824082
let nat_target = create_nat_target_ipv4();
40834083
let external_create = types::MulticastGroupCreateExternalEntry {
40844084
group_ip,
40854085
tag: Some(format!("pool_recovery_test_{}", i)),
40864086
nat_target,
40874087
vlan_id: Some(10),
40884088
sources: None,
4089-
};
4089+
};
40904090

40914091
let created_group = switch
40924092
.client

0 commit comments

Comments
 (0)