[Lldb-commits] [lldb] r374371 - Increase timeout in gdbclientutils.py to decrease chance of test failing under ASAN.

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 10 08:59:17 PDT 2019


Author: adrian
Date: Thu Oct 10 08:59:17 2019
New Revision: 374371

URL: http://llvm.org/viewvc/llvm-project?rev=374371&view=rev
Log:
Increase timeout in gdbclientutils.py to decrease chance of test failing under ASAN.

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/gdbclientutils.py

Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/gdbclientutils.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/gdbclientutils.py?rev=374371&r1=374370&r2=374371&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/gdbclientutils.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/gdbclientutils.py Thu Oct 10 08:59:17 2019
@@ -296,7 +296,7 @@ class MockGDBServer:
         try:
             # accept() is stubborn and won't fail even when the socket is
             # shutdown, so we'll use a timeout
-            self._socket.settimeout(2.0)
+            self._socket.settimeout(20.0)
             client, client_addr = self._socket.accept()
             self._client = client
             # The connected client inherits its timeout from self._socket,




More information about the lldb-commits mailing list