You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by sw...@apache.org on 2025/08/03 06:56:05 UTC
(logging-log4cxx) 01/01: Avoid occasional failures in SocketAppenderTestCase on MacOS
This is an automated email from the ASF dual-hosted git repository.
swebb2066 pushed a commit to branch fix_flaky_macos_test
in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git
commit 3cd9de380739fc798a8ae8fc7ff3cf468c3f82f5
Author: Stephen Webb <sw...@gmail.com>
AuthorDate: Sun Aug 3 16:55:44 2025 +1000
Avoid occasional failures in SocketAppenderTestCase on MacOS
---
src/test/cpp/net/socketappendertestcase.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/cpp/net/socketappendertestcase.cpp b/src/test/cpp/net/socketappendertestcase.cpp
index e3b6111d..bdb8fd90 100644
--- a/src/test/cpp/net/socketappendertestcase.cpp
+++ b/src/test/cpp/net/socketappendertestcase.cpp
@@ -120,7 +120,7 @@ class SocketAppenderTestCase : public AppenderSkeletonTestCase
LOGUNIT_ASSERT(aprSocket);
auto pSocket = aprSocket->getSocketPtr();
LOGUNIT_ASSERT(pSocket);
- apr_socket_timeout_set(pSocket, 200000); // 200 millisecond
+ apr_socket_timeout_set(pSocket, 400000); // 400 millisecond
std::vector<int> messageCount;
char buffer[8*1024];
apr_size_t len = sizeof(buffer);