Repository navigation
Commit eeafc73
* gh-160986: Fix flaky test_popping_python_frame_is_not_native
The unwinder can attach before the target process enters its main
loop, so on slow builds (e.g. UBSan) all 10,000 samples could be
taken before leaf() runs. Wait until leaf() shows up in a sample
before counting.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Reuse _get_stack_trace_with_retry() to wait for leaf()
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent e4dba41 commit eeafc73
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2041 | 2041 | | |
2042 | 2042 | | |
2043 | 2043 | | |
| 2044 | + | |
| 2045 | + | |
| 2046 | + | |
| 2047 | + | |
| 2048 | + | |
| 2049 | + | |
| 2050 | + | |
| 2051 | + | |
2044 | 2052 | | |
2045 | 2053 | | |
2046 | 2054 | | |
| |||
0 commit comments