[PATCH] D92563: [Lit] Fix flaky test on heavily loaded bots
Oliver Stannard (Linaro) via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 3 03:01:39 PST 2020
ostannard created this revision.
ostannard added reviewers: delcypher, rovka, dblaikie.
Herald added a project: LLVM.
ostannard requested review of this revision.
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 remove that check line from the test.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D92563
Files:
llvm/utils/lit/tests/shtest-timeout.py
Index: llvm/utils/lit/tests/shtest-timeout.py
===================================================================
--- llvm/utils/lit/tests/shtest-timeout.py
+++ 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92563.309204.patch
Type: text/x-patch
Size: 434 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201203/1f3380f9/attachment.bin>
More information about the llvm-commits
mailing list