This is an automated email from the ASF dual-hosted git repository.

swebb2066 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git


The following commit(s) were added to refs/heads/master by this push:
     new 223a2041 Avoid occasional failures in SocketAppenderTestCase on MacOS 
(#518)
223a2041 is described below

commit 223a2041ee2a0a77be3d639bff2e21561d44c1f3
Author: Stephen Webb <[email protected]>
AuthorDate: Mon Aug 4 10:15:44 2025 +1000

    Avoid occasional failures in SocketAppenderTestCase on MacOS (#518)
---
 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);

Reply via email to