[Lldb-commits] [lldb] 6424dc2 - Increase gdbremote timeout.

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 16 09:10:08 PST 2021


Author: Adrian Prantl
Date: 2021-11-16T09:09:55-08:00
New Revision: 6424dc21bf6b73645ef98a35417e0591b2a95939

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

LOG: Increase gdbremote timeout.

I'm still seeing random timeouts on green dragon.

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 97a7543b5c1e..268ff70501a8 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 tenfold under Asan.
-    DEFAULT_TIMEOUT =  20 * (10 if ('ASAN_OPTIONS' in os.environ) else 1)
+    # 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 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