[PowerPC] Collect some CallLowering arguments into a struct. [NFC]
[llvm-project.git] / lldb / packages / Python / lldbsuite / test / issue_verification / TestRerunTimeout.py.park
bloba8f5542ae2f5a5ee4d7ca8f5a39e3ea0070c2eb7
1 """Tests that a timeout is detected by the testbot."""
2 from __future__ import print_function
4 import time
6 import lldbsuite.test.decorators as decorators
7 import rerun_base
10 class RerunTimeoutTestCase(rerun_base.RerunBaseTestCase):
11     @decorators.no_debug_info_test
12     def test_timeout_rerun_succeeds(self):
13         """Tests that the timeout logic kicks in and that this timeout is picked up."""
14         if not self.should_generate_issue():
15             # We pass this time.
16             return
18         # We time out this time.
19         while True:
20             # noinspection PyBroadException
21             try:
22                 time.sleep(1)
23             except:
24                 print("ignoring exception during sleep")