Skip to content

Commit

Permalink
[Lit] Fix flaky test on heavily loaded bots
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ostannard committed Dec 7, 2020
1 parent 77f0ea4 commit 7d04e70
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion llvm/utils/lit/tests/shtest-timeout.py
Expand Up @@ -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


Expand Down

0 comments on commit 7d04e70

Please sign in to comment.