garydgregory opened a new pull request, #2636: URL: https://github.com/apache/activemq/pull/2636
Run: ``` mvn clean verify -Dactivemq.test.multicast.networkInterface=lo0 -pl activemq-unit-tests -Dtest=DiscoveryTransportBrokerTest ``` `DiscoveryTransportBrokerTest` failed locally for me on macOS with `NoRouteToHostException` when advertising broker addresses over multicast on en0, despite an existing route to my IPv4 address. Without advertisements, the publisher discovered no brokers and failed with `"No uris available to connect to."` Add the `activemq.test.multicast.networkInterface` system property to configure both multicast group membership and outgoing advertisements. Unset or blank values preserve automatic interface selection. Using `lo0` allowed the test to pass locally for me. Keep the override configurable because interface names and loopback multicast support vary across macOS, Linux, and Windows. FTR: ``` openjdk version "17.0.20.1" 2026-08-18 OpenJDK Runtime Environment Homebrew (build 17.0.20.1+0) OpenJDK 64-Bit Server VM Homebrew (build 17.0.20.1+0, mixed mode, sharing) Apache Maven 3.10.0 (c43a36b8d67be7e0805a411bc0898af1a51f5472) Maven home: /opt/homebrew/Cellar/maven/3.10.0/libexec Java version: 17.0.20.1, vendor: Homebrew, runtime: /opt/homebrew/Cellar/openjdk@17/17.0.20.1/libexec/openjdk.jdk/Contents/Home Default locale: en_US, platform encoding: UTF-8, time zone: America/New_York OS name: "mac os x", version: "26.7.1", arch: "aarch64", family: "mac" Darwin ****-MacBook-Pro.local 25.6.0 Darwin Kernel Version 25.6.0: Tue Aug 18 17:48:46 PDT 2026; root:xnu-12377.161.15.700.19~2/RELEASE_ARM64_T6041 arm64 Docker version 29.8.1, build 4a63305 ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information, visit: https://activemq.apache.org/contact
