[Lldb-commits] [lldb] r236725 - Increase the timeout limit for TestConcurrentEvents

Pavel Labath labath at google.com
Thu May 7 06:35:21 PDT 2015


Author: labath
Date: Thu May  7 08:35:21 2015
New Revision: 236725

URL: http://llvm.org/viewvc/llvm-project?rev=236725&view=rev
Log:
Increase the timeout limit for TestConcurrentEvents

After recent changes, TestConcurrentEvents began timing out. This increases the timeout limit to
7m for this test, ensure the Test has enough time to complete.

Modified:
    lldb/trunk/test/dosep.py

Modified: lldb/trunk/test/dosep.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/dosep.py?rev=236725&r1=236724&r2=236725&view=diff
==============================================================================
--- lldb/trunk/test/dosep.py (original)
+++ lldb/trunk/test/dosep.py Thu May  7 08:35:21 2015
@@ -48,6 +48,11 @@ def get_timeout_command():
 
 timeout_command = get_timeout_command()
 
+# TestConcurrentEvents is a long test and it times out with default 5m timeout.
+# Increase its timeout if it hasn't been already set.
+if os.environ.get('LLDB_TEST_TIMEOUT') == None and os.environ.get('LLDB_TESTCONCURRENTEVENTS_TIMEOUT') == None:
+    os.environ['LLDB_TESTCONCURRENTEVENTS_TIMEOUT'] = "7m"
+
 default_timeout = os.getenv("LLDB_TEST_TIMEOUT") or "5m"
 
 # Status codes for running command with timeout.





More information about the lldb-commits mailing list