Skip to content

Commit

Permalink
Do not run reuseport test on ipv6 ff03::1 on mac. Fixes #215
Browse files Browse the repository at this point in the history
  • Loading branch information
cboulay committed May 25, 2024
1 parent 7ed7b23 commit 7e61a2e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions testing/int/network.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,11 @@ TEST_CASE("ipaddresses", "[ipv6][network][basic]") {
TEST_CASE("reuseport", "[network][basic][!mayfail]") {
// Linux: sudo ip link set lo multicast on; sudo ip mroute show table all

#if __APPLE__
auto addrstr = GENERATE((const char *)"224.0.0.1", "255.255.255.255");
#else
auto addrstr = GENERATE((const char *)"224.0.0.1", "255.255.255.255", "ff03::1");
#endif
SECTION(addrstr) {
const uint16_t test_port = port++;
INFO("Test port " + std::to_string(test_port));
Expand Down

0 comments on commit 7e61a2e

Please sign in to comment.