]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3606] Disabled forceUDPSendFailure on macOS
authorFrancis Dupont <fdupont@isc.org>
Sun, 29 Sep 2024 09:10:37 +0000 (11:10 +0200)
committerFrancis Dupont <fdupont@isc.org>
Mon, 7 Oct 2024 15:42:25 +0000 (17:42 +0200)
src/bin/dhcp4/tests/d2_unittest.cc
src/bin/dhcp6/tests/d2_unittest.cc

index 0a352227f26bee7655c7931306fbcd20059400a6..c6f875ea2e53854fd3e7790181cf400cb8515f36 100644 (file)
@@ -297,9 +297,9 @@ TEST_F(Dhcp4SrvD2Test, simpleUDPSend) {
 // being suspended.  This indicates that Dhcp4Srv's error handler has been
 // invoked as expected.  Note that this unit test relies on an attempt to send
 // to a server address of 0.0.0.0 port 0 fails, which it does under all OSes
-// except Solaris 11.
+// except Solaris 11 and macOS 15.0.
 /// @todo Eventually we should find a way to test this under Solaris.
-#ifndef OS_SOLARIS
+#if (!defined(OS_SOLARIS) && !defined(OS_OSX))
 TEST_F(Dhcp4SrvD2Test, forceUDPSendFailure) {
 #else
 TEST_F(Dhcp4SrvD2Test, DISABLED_forceUDPSendFailure) {
index db8205362ab0e2be3e60749e0a5332333dc1a3ec..c16ac1be868e4b6d3330f8bf89255172cd166e7d 100644 (file)
@@ -301,9 +301,9 @@ TEST_F(Dhcp6SrvD2Test, simpleUDPSend) {
 // being suspended.  This indicates that Dhcp6Srv's error handler has been
 // invoked as expected.  Note that this unit test relies on an attempt to send
 // to a server address of 0.0.0.0 port 0 fails, which it does under all OSs
-// except Solaris 11.
+// except Solaris 11 and macOS 15.0.
 /// @todo Eventually we should find a way to test this under Solaris.
-#ifndef OS_SOLARIS
+#if (!defined(OS_SOLARIS) && !defined(OS_OSX))
 TEST_F(Dhcp6SrvD2Test, forceUDPSendFailure) {
 #else
 TEST_F(Dhcp6SrvD2Test, DISABLED_forceUDPSendFailure) {