From c503913462ff60917787a8ff2d7d1c7d082c14ac Mon Sep 17 00:00:00 2001 From: OlivierHecart Date: Tue, 12 Sep 2023 11:48:53 +0200 Subject: [PATCH] transport_multicast_udp_only test uses random multicast ip address --- io/zenoh-transport/tests/multicast_transport.rs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/io/zenoh-transport/tests/multicast_transport.rs b/io/zenoh-transport/tests/multicast_transport.rs index e9b986040f..8c719a8b58 100644 --- a/io/zenoh-transport/tests/multicast_transport.rs +++ b/io/zenoh-transport/tests/multicast_transport.rs @@ -337,7 +337,14 @@ mod tests { // Define the locator let endpoints: Vec = vec![ - "udp/224.0.0.1:7447".parse().unwrap(), + format!( + "udp/224.{}.{}.{}:7447", + rand::random::(), + rand::random::(), + rand::random::() + ) + .parse() + .unwrap(), // Disabling by default because of no IPv6 support // on GitHub CI actions. // format!("udp/{}", ZN_MULTICAST_IPV6_ADDRESS_DEFAULT)