Skip to content

Commit 6d272a3

Browse files
committed
Fix maxos tests
1 parent 2484f30 commit 6d272a3

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

tests/CMakeLists.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,10 @@ target_include_directories(tests
3737
${CMAKE_CURRENT_SOURCE_DIR}
3838
)
3939

40-
# Discover tests
41-
gtest_discover_tests(tests)
40+
# Discover tests with increased timeout
41+
gtest_discover_tests(tests
42+
DISCOVERY_TIMEOUT 30
43+
)
4244

4345
# Set test properties
4446
set_target_properties(tests PROPERTIES

tests/multicast_sender_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class MulticastSenderTest : public ::testing::Test {
1919
config_.port = 12345;
2020
config_.interface_address = "0.0.0.0"; // Any interface
2121
config_.ttl = 1; // Local network only for testing
22-
config_.enable_loopback = false;
22+
config_.enable_loopback = true; // Enable loopback for CI environments
2323
config_.send_buffer_size = 65536;
2424
}
2525

0 commit comments

Comments
 (0)