Skip to content

Commit 70c7d09

Browse files
committed
[#3606] Disabled forceUDPSendFailure on macOS
1 parent bb78477 commit 70c7d09

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/bin/dhcp4/tests/d2_unittest.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,9 +297,9 @@ TEST_F(Dhcp4SrvD2Test, simpleUDPSend) {
297297
// being suspended. This indicates that Dhcp4Srv's error handler has been
298298
// invoked as expected. Note that this unit test relies on an attempt to send
299299
// to a server address of 0.0.0.0 port 0 fails, which it does under all OSes
300-
// except Solaris 11.
300+
// except Solaris 11 and macOS 15.0.
301301
/// @todo Eventually we should find a way to test this under Solaris.
302-
#ifndef OS_SOLARIS
302+
#if (!defined(OS_SOLARIS) && !defined(OS_OSX))
303303
TEST_F(Dhcp4SrvD2Test, forceUDPSendFailure) {
304304
#else
305305
TEST_F(Dhcp4SrvD2Test, DISABLED_forceUDPSendFailure) {

src/bin/dhcp6/tests/d2_unittest.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,9 +301,9 @@ TEST_F(Dhcp6SrvD2Test, simpleUDPSend) {
301301
// being suspended. This indicates that Dhcp6Srv's error handler has been
302302
// invoked as expected. Note that this unit test relies on an attempt to send
303303
// to a server address of 0.0.0.0 port 0 fails, which it does under all OSs
304-
// except Solaris 11.
304+
// except Solaris 11 and macOS 15.0.
305305
/// @todo Eventually we should find a way to test this under Solaris.
306-
#ifndef OS_SOLARIS
306+
#if (!defined(OS_SOLARIS) && !defined(OS_OSX))
307307
TEST_F(Dhcp6SrvD2Test, forceUDPSendFailure) {
308308
#else
309309
TEST_F(Dhcp6SrvD2Test, DISABLED_forceUDPSendFailure) {

0 commit comments

Comments
 (0)