[llvm-branch-commits] [llvm] 7d04e70 - [Lit] Fix flaky test on heavily loaded bots

Oliver Stannard via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Dec 7 01:06:07 PST 2020


Author: Oliver Stannard
Date: 2020-12-07T09:05:55Z
New Revision: 7d04e70627aa0734ce820bec0dcb7fa28a9ea457

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

LOG: [Lit] Fix flaky test on heavily loaded bots

On some of the slow or heavily-loaded bots, this test was failing
intermittently because the infinite_loop.py script might not emit
anything to stdout before the 1 second timeout, so the "Command Output"
line isn't present in the output. That output isn't really important to
this test, we just care that the process is killed, so we can just rmove
that check line from  the test.

Differential revision: https://reviews.llvm.org/D92563

Added: 
    

Modified: 
    llvm/utils/lit/tests/shtest-timeout.py

Removed: 
    


################################################################################
diff  --git a/llvm/utils/lit/tests/shtest-timeout.py b/llvm/utils/lit/tests/shtest-timeout.py
index 558aca5f05bf..f229c286088b 100644
--- a/llvm/utils/lit/tests/shtest-timeout.py
+++ b/llvm/utils/lit/tests/shtest-timeout.py
@@ -42,7 +42,6 @@
 
 # CHECK-OUT-COMMON: TIMEOUT: per_test_timeout :: infinite_loop.py
 # CHECK-OUT-COMMON: Timeout: Reached timeout of 1 seconds
-# CHECK-OUT-COMMON: Command {{([0-9]+ )?}}Output
 # CHECK-OUT-COMMON: Timed Out: 1
 
 


        


More information about the llvm-branch-commits mailing list