diff options
author | Adrian Prantl <aprantl@apple.com> | 2019-10-21 20:50:45 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2019-10-21 20:50:45 +0000 |
commit | ed870cce676ec873d5d0c9e084744ffba0eb67fc (patch) | |
tree | 7b065dcdefb2de90adb4b25515554840b299f29e /lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py | |
parent | e5ecba4f53e77210c960606b4a3b5a411a4d5823 (diff) | |
download | bcm5719-llvm-ed870cce676ec873d5d0c9e084744ffba0eb67fc.tar.gz bcm5719-llvm-ed870cce676ec873d5d0c9e084744ffba0eb67fc.zip |
Found more timeouts to unify.
llvm-svn: 375454
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py index ed60244e88f..4effc154d2d 100644 --- a/lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py +++ b/lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py @@ -43,7 +43,7 @@ class TestGdbRemoteThreadsInStopReply( hw_info = self.parse_hw_info(context) # Give threads time to start up, then break. - time.sleep(1) + time.sleep(self._WAIT_TIMEOUT) self.reset_test_sequence() self.test_sequence.add_log_lines( [ @@ -61,7 +61,8 @@ class TestGdbRemoteThreadsInStopReply( self.assertIsNotNone(context) # Wait until all threads have started. - threads = self.wait_for_thread_count(thread_count, timeout_seconds=3) + threads = self.wait_for_thread_count(thread_count, + timeout_seconds=self._WAIT_TIMEOUT) self.assertIsNotNone(threads) self.assertEqual(len(threads), thread_count) |