Skip to content

Commit

Permalink
transport_multicast_udp_only test uses random multicast ip address
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierHecart committed Sep 12, 2023
1 parent d501634 commit c503913
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion io/zenoh-transport/tests/multicast_transport.rs
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,14 @@ mod tests {

// Define the locator
let endpoints: Vec<EndPoint> = vec![
"udp/224.0.0.1:7447".parse().unwrap(),
format!(
"udp/224.{}.{}.{}:7447",
rand::random::<u8>(),
rand::random::<u8>(),
rand::random::<u8>()
)
.parse()
.unwrap(),
// Disabling by default because of no IPv6 support
// on GitHub CI actions.
// format!("udp/{}", ZN_MULTICAST_IPV6_ADDRESS_DEFAULT)
Expand Down

0 comments on commit c503913

Please sign in to comment.