[PowerPC] Collect some CallLowering arguments into a struct. [NFC]
[llvm-project.git] / lldb / packages / Python / lldbsuite / test / issue_verification / TestExpectedTimeout.py.park
blob67db8149f8504ad7ce160ae8cc9362a9071d068e
1 """Tests that a timeout is detected by the testbot."""
2 from __future__ import print_function
4 import time
6 import lldbsuite.test.lldbtest as lldbtest
9 class ExpectedTimeoutTestCase(lldbtest.TestBase):
10     """Forces test timeout."""
11     mydir = lldbtest.TestBase.compute_mydir(__file__)
13     @lldbtest.expectedFailureAll()
14     def test_buildbot_sees_expected_timeout(self):
15         """Tests that expected timeout logic kicks in and is picked up."""
16         while True:
17             try:
18                 time.sleep(1)
19             except:
20                 print("ignoring exception during sleep")