From f9a12a2cdafbcfd5882a3512c348adaad018f48b Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Thu, 10 Oct 2019 15:59:17 +0000 Subject: [PATCH] Increase timeout in gdbclientutils.py to decrease chance of test failing under ASAN. llvm-svn: 374371 (cherry picked from commit cba575e8ffb052266ab93c0623f44b383ee793ff) --- .../test/functionalities/gdb_remote_client/gdbclientutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/gdbclientutils.py b/lldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/gdbclientutils.py index 983b72db1a863..f4a4c9a460f60 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/gdbclientutils.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/gdbclientutils.py @@ -298,7 +298,7 @@ def _run(self): 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,