Skip to content

Commit 0a33df7

Browse files
author
git apple-llvm automerger
committed
Merge commit '8c214bbdd9a3' from apple/master into swift/master-next
2 parents e0e7f2d + 8c214bb commit 0a33df7

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteKill.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def attach_commandline_kill_after_initial_stop(self):
3232

3333
# Wait a moment for completed and now-detached inferior process to
3434
# clear.
35-
time.sleep(1)
35+
time.sleep(self._WAIT_TIMEOUT)
3636

3737
if not lldb.remote_platform:
3838
# Process should be dead now. Reap results.

lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def gather_stop_reply_fields(self, post_startup_log_lines, thread_count,
4343
hw_info = self.parse_hw_info(context)
4444

4545
# Give threads time to start up, then break.
46-
time.sleep(1)
46+
time.sleep(self._WAIT_TIMEOUT)
4747
self.reset_test_sequence()
4848
self.test_sequence.add_log_lines(
4949
[
@@ -61,7 +61,8 @@ def gather_stop_reply_fields(self, post_startup_log_lines, thread_count,
6161
self.assertIsNotNone(context)
6262

6363
# Wait until all threads have started.
64-
threads = self.wait_for_thread_count(thread_count, timeout_seconds=3)
64+
threads = self.wait_for_thread_count(thread_count,
65+
timeout_seconds=self._WAIT_TIMEOUT)
6566
self.assertIsNotNone(threads)
6667
self.assertEqual(len(threads), thread_count)
6768

lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemote_qThreadStopInfo.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def gather_stop_replies_via_qThreadStopInfo(self, thread_count):
3434
self.assertIsNotNone(context)
3535

3636
# Give threads time to start up, then break.
37-
time.sleep(1)
37+
time.sleep(self._WAIT_TIMEOUT)
3838
self.reset_test_sequence()
3939
self.test_sequence.add_log_lines(
4040
[
@@ -52,7 +52,8 @@ def gather_stop_replies_via_qThreadStopInfo(self, thread_count):
5252
self.assertIsNotNone(context)
5353

5454
# Wait until all threads have started.
55-
threads = self.wait_for_thread_count(thread_count, timeout_seconds=self._WAIT_TIMEOUT)
55+
threads = self.wait_for_thread_count(thread_count,
56+
timeout_seconds=self._WAIT_TIMEOUT)
5657
self.assertIsNotNone(threads)
5758

5859
# On Windows, there could be more threads spawned. For example, DebugBreakProcess will

0 commit comments

Comments
 (0)