From 9749d4f181d1c0fd3ea26103867bda14a0149111 Mon Sep 17 00:00:00 2001 From: David Spickett Date: Wed, 29 May 2024 10:05:43 +0000 Subject: [PATCH] [lldb][Test][Windows] Fix flaky address range API tests The new tests added in #92014 have been flaky on Linaro's Windows on Arm bot. They appear to be hitting a deadlock trying to clean up the test process. This only happens in async mode and I don't see why this test case needs async mode, so the simple workaround is to stick to sync mode. --- lldb/test/API/python_api/address_range/TestAddressRange.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/lldb/test/API/python_api/address_range/TestAddressRange.py b/lldb/test/API/python_api/address_range/TestAddressRange.py index 8c27558af4752..65221e3f1b0e9 100644 --- a/lldb/test/API/python_api/address_range/TestAddressRange.py +++ b/lldb/test/API/python_api/address_range/TestAddressRange.py @@ -15,8 +15,6 @@ def setUp(self): self.build() exe = self.getBuildArtifact("a.out") - self.dbg.SetAsync(True) - self.target = self.dbg.CreateTarget(exe) self.assertTrue(self.target, VALID_TARGET) self.launch_info = self.target.GetLaunchInfo()