Commit fbb2a7d
osr_test: extend accessibility location-change grace period to 3 s
Python 3.14 is slow enough that the previous 1 s unconditional extra
wait was still insufficient for the OnAccessibilityLocationChange IPC
to arrive before check_auto_asserts ran.
Replace the single fixed-length wait with a polling loop: up to 30
batches of 10 iterations (100 ms each) = 3 s maximum, but exits
immediately once the flag is set. Fast runners (3.10-3.13) continue
to pay nothing extra; 3.14 gets as much time as it needs up to 3 s.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent c00da18 commit fbb2a7d
1 file changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
193 | 197 | | |
194 | 198 | | |
195 | 199 | | |
| |||
0 commit comments