Repository navigation
Commit aaa31b9
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>1 parent 9c0cfb1 commit aaa31b9
1 file changed
Lines changed: 18 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2041 | 2041 | | |
2042 | 2042 | | |
2043 | 2043 | | |
2044 | | - | |
2045 | | - | |
| 2044 | + | |
| 2045 | + | |
2046 | 2046 | | |
2047 | 2047 | | |
2048 | 2048 | | |
2049 | | - | |
| 2049 | + | |
2050 | 2050 | | |
2051 | | - | |
2052 | | - | |
2053 | | - | |
| 2051 | + | |
| 2052 | + | |
2054 | 2053 | | |
| 2054 | + | |
| 2055 | + | |
| 2056 | + | |
| 2057 | + | |
| 2058 | + | |
| 2059 | + | |
| 2060 | + | |
| 2061 | + | |
| 2062 | + | |
| 2063 | + | |
| 2064 | + | |
| 2065 | + | |
| 2066 | + | |
2055 | 2067 | | |
2056 | 2068 | | |
2057 | 2069 | | |
| |||
0 commit comments