Author: David Spickett
Date: 2024-05-29T10:07:47Z
New Revision: 971f1aaad3ca3680bfbab76212f498ca15b280a2

URL: 
https://github.com/llvm/llvm-project/commit/971f1aaad3ca3680bfbab76212f498ca15b280a2
DIFF: 
https://github.com/llvm/llvm-project/commit/971f1aaad3ca3680bfbab76212f498ca15b280a2.diff

LOG: [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.

Added: 
    

Modified: 
    lldb/test/API/python_api/address_range/TestAddressRange.py

Removed: 
    


################################################################################
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()


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to