Skip to content

Commit 7e61a2e

Browse files
committed
Do not run reuseport test on ipv6 ff03::1 on mac. Fixes #215
1 parent 7ed7b23 commit 7e61a2e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

testing/int/network.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,11 @@ TEST_CASE("ipaddresses", "[ipv6][network][basic]") {
236236
TEST_CASE("reuseport", "[network][basic][!mayfail]") {
237237
// Linux: sudo ip link set lo multicast on; sudo ip mroute show table all
238238

239+
#if __APPLE__
240+
auto addrstr = GENERATE((const char *)"224.0.0.1", "255.255.255.255");
241+
#else
239242
auto addrstr = GENERATE((const char *)"224.0.0.1", "255.255.255.255", "ff03::1");
243+
#endif
240244
SECTION(addrstr) {
241245
const uint16_t test_port = port++;
242246
INFO("Test port " + std::to_string(test_port));

0 commit comments

Comments
 (0)