[Lldb-commits] [lldb] cbb8b20 - Revert "Increase gdbremote timeout."

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Thu Nov 18 15:07:39 PST 2021


Author: Adrian Prantl
Date: 2021-11-18T15:07:30-08:00
New Revision: cbb8b200a6566943d898e51b80769a648a47a04c

URL: https://github.com/llvm/llvm-project/commit/cbb8b200a6566943d898e51b80769a648a47a04c
DIFF: https://github.com/llvm/llvm-project/commit/cbb8b200a6566943d898e51b80769a648a47a04c.diff

LOG: Revert "Increase gdbremote timeout."

This reverts commit 6424dc21bf6b73645ef98a35417e0591b2a95939.

Added: 
    

Modified: 
    lldb/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py

Removed: 
    


################################################################################
diff  --git a/lldb/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py
index 268ff70501a8c..97a7543b5c1ef 100644
--- a/lldb/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py
+++ b/lldb/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py
@@ -62,8 +62,8 @@ def test_method(self, attrvalue=attrvalue):
 @add_metaclass(GdbRemoteTestCaseFactory)
 class GdbRemoteTestCaseBase(Base):
 
-    # Default time out in seconds. The timeout is increased fivefold under Asan.
-    DEFAULT_TIMEOUT =  60 * (5 if ('ASAN_OPTIONS' in os.environ) else 1)
+    # Default time out in seconds. The timeout is increased tenfold under Asan.
+    DEFAULT_TIMEOUT =  20 * (10 if ('ASAN_OPTIONS' in os.environ) else 1)
     # Default sleep time in seconds. The sleep time is doubled under Asan.
     DEFAULT_SLEEP   =  5  * (2  if ('ASAN_OPTIONS' in os.environ) else 1)
 


        


More information about the lldb-commits mailing list