[Lldb-commits] [lldb] [lldb][test] Disable TestEvents.py (PR #226486)

via lldb-commits lldb-commits at lists.llvm.org
Mon Sep 28 04:05:10 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Raphael Isemann (Teemperor)

<details>
<summary>Changes</summary>

This test is flaky on Linux, macOS and Windows. The usual failure on macOS is as follows:

```
FAIL: test_shadow_listener (TestEvents.EventAPITestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 801, in wrapper
    func(*args, **kwargs)
llvm-project/lldb/test/API/python_api/event/TestEvents.py", line 485, in test_shadow_listener
    state, restarted = self.wait_for_next_event(None, False)
llvm-project/lldb/test/API/python_api/event/TestEvents.py", line 346, in wait_for_next_event
    self.assertEqual(
>>> AssertionError: 2 != 3 : matching stop hook
Config=arm64-/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-matrix/lldb-build/bin/clang
----------------------------------------------------------------------
```

The test is already skipped on all platforms except macOS. This patch skips it on all platforms.

---
Full diff: https://github.com/llvm/llvm-project/pull/226486.diff


1 Files Affected:

- (modified) lldb/test/API/python_api/event/TestEvents.py (+2-17) 


``````````diff
The server is unavailable at this time. Please wait a few minutes before you try again.
``````````

</details>


https://github.com/llvm/llvm-project/pull/226486


More information about the lldb-commits mailing list