[Lldb-commits] [lldb] 284d4e0 - [lldb] Fix RNBSocketTest for #117691
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Wed Nov 27 04:17:18 PST 2024
Author: Pavel Labath
Date: 2024-11-27T13:16:41+01:00
New Revision: 284d4e0a7a789848b7af7f85158ccf522d70c6f0
URL: https://github.com/llvm/llvm-project/commit/284d4e0a7a789848b7af7f85158ccf522d70c6f0
DIFF: https://github.com/llvm/llvm-project/commit/284d4e0a7a789848b7af7f85158ccf522d70c6f0.diff
LOG: [lldb] Fix RNBSocketTest for #117691
Added:
Modified:
lldb/unittests/debugserver/RNBSocketTest.cpp
Removed:
################################################################################
diff --git a/lldb/unittests/debugserver/RNBSocketTest.cpp b/lldb/unittests/debugserver/RNBSocketTest.cpp
index 75f236b4d41800..fe2e79e1fedf97 100644
--- a/lldb/unittests/debugserver/RNBSocketTest.cpp
+++ b/lldb/unittests/debugserver/RNBSocketTest.cpp
@@ -120,7 +120,8 @@ void TestSocketConnect(const char *addr) {
ASSERT_EQ(bye, goodbye);
} else {
Socket *connected_socket;
- Status err = server_socket->Accept(connected_socket);
+ Status err =
+ server_socket->Accept(std::chrono::seconds(10), connected_socket);
if (err.Fail()) {
llvm::errs() << err.AsCString();
abort();
More information about the lldb-commits
mailing list