From c24860118a7e4fe0611a9463498181a4a01b9459 Mon Sep 17 00:00:00 2001 From: Stella Stamenova Date: Thu, 2 Dec 2021 09:53:28 -0800 Subject: [PATCH] [lldb] Skip two lldb tests on Windows because they are flaky These tests work fine with VS2017, but become more flaky with VS2019 and the buildbot is about to get upgraded. Differential Revision: https://reviews.llvm.org/D114907 --- .../TestThreadSpecificBpPlusCondition.py | 1 + lldb/test/API/python_api/lldbutil/iter/TestLLDBIterator.py | 1 + 2 files changed, 2 insertions(+) diff --git a/lldb/test/API/functionalities/thread/thread_specific_break_plus_condition/TestThreadSpecificBpPlusCondition.py b/lldb/test/API/functionalities/thread/thread_specific_break_plus_condition/TestThreadSpecificBpPlusCondition.py index 95499883aa7a..697124003048 100644 --- a/lldb/test/API/functionalities/thread/thread_specific_break_plus_condition/TestThreadSpecificBpPlusCondition.py +++ b/lldb/test/API/functionalities/thread/thread_specific_break_plus_condition/TestThreadSpecificBpPlusCondition.py @@ -20,6 +20,7 @@ class ThreadSpecificBreakPlusConditionTestCase(TestBase): # hits break in another thread in testrun @add_test_categories(['pyapi']) @expectedFlakeyNetBSD + @skipIfWindows # This test is flaky on Windows def test_python(self): """Test that we obey thread conditioned breakpoints.""" self.build() diff --git a/lldb/test/API/python_api/lldbutil/iter/TestLLDBIterator.py b/lldb/test/API/python_api/lldbutil/iter/TestLLDBIterator.py index 4fdde97dba08..9467adb6cffe 100644 --- a/lldb/test/API/python_api/lldbutil/iter/TestLLDBIterator.py +++ b/lldb/test/API/python_api/lldbutil/iter/TestLLDBIterator.py @@ -89,6 +89,7 @@ class LLDBIteratorTestCase(TestBase): self.assertEqual(yours[i], mine[i], "ID of yours[{0}] and mine[{0}] matches".format(i)) + @skipIfWindows # This test is flaky on Windows def test_lldb_iter_frame(self): """Test iterator works correctly for SBProcess->SBThread->SBFrame.""" self.build()