diff --git a/test/blackbox/common/BlackboxTestsNetworkConf.cpp b/test/blackbox/common/BlackboxTestsNetworkConf.cpp index e9683995612..8ee72b13c42 100644 --- a/test/blackbox/common/BlackboxTestsNetworkConf.cpp +++ b/test/blackbox/common/BlackboxTestsNetworkConf.cpp @@ -46,6 +46,10 @@ class NetworkConfig : public testing::TestWithParam(); } } diff --git a/test/blackbox/common/BlackboxTestsTransportTCP.cpp b/test/blackbox/common/BlackboxTestsTransportTCP.cpp index 816a6c9d7a1..a7254f60d8d 100644 --- a/test/blackbox/common/BlackboxTestsTransportTCP.cpp +++ b/test/blackbox/common/BlackboxTestsTransportTCP.cpp @@ -43,6 +43,10 @@ class TransportTCP : public testing::TestWithParam(GetParam()); if (use_ipv6) { +#ifdef __APPLE__ + // TODO: fix IPv6 issues related with zone ID + GTEST_SKIP() << "TCPv6 tests are disabled in Mac"; +#endif // ifdef __APPLE__ test_transport_ = std::make_shared(); } else diff --git a/test/blackbox/common/BlackboxTestsTransportUDP.cpp b/test/blackbox/common/BlackboxTestsTransportUDP.cpp index 0cccf3e96d8..e5498093c72 100644 --- a/test/blackbox/common/BlackboxTestsTransportUDP.cpp +++ b/test/blackbox/common/BlackboxTestsTransportUDP.cpp @@ -46,6 +46,10 @@ class TransportUDP : public testing::TestWithParam(); } } diff --git a/test/unittest/transport/TCPv6Tests.cpp b/test/unittest/transport/TCPv6Tests.cpp index 57fb33ae97f..f144a16deb1 100644 --- a/test/unittest/transport/TCPv6Tests.cpp +++ b/test/unittest/transport/TCPv6Tests.cpp @@ -56,6 +56,14 @@ class TCPv6Tests : public ::testing::Test { public: + void SetUp() override + { +#ifdef __APPLE__ + // TODO: fix IPv6 issues related with zone ID + GTEST_SKIP() << "TCPv6 tests are disabled in Mac"; +#endif // ifdef __APPLE__ + } + TCPv6Tests() { HELPER_SetDescriptorDefaults(); diff --git a/test/unittest/transport/UDPv6Tests.cpp b/test/unittest/transport/UDPv6Tests.cpp index 6f2b11b040a..e45bda237f7 100644 --- a/test/unittest/transport/UDPv6Tests.cpp +++ b/test/unittest/transport/UDPv6Tests.cpp @@ -58,6 +58,14 @@ class UDPv6Tests : public ::testing::Test { public: + void SetUp() override + { +#ifdef __APPLE__ + // TODO: fix IPv6 issues related with zone ID + GTEST_SKIP() << "UDPv6 tests are disabled in Mac"; +#endif // ifdef __APPLE__ + } + UDPv6Tests() { HELPER_SetDescriptorDefaults();