Repository navigation
Commit 41249a0
committed
test(ios): stop cold-host timing from failing the occupancy and bare-type tests
testAbandonedTreeCaptureSkipsQuerySweepAndHonorsWarmupExemption runs first in
the targeted XCTest lane and absorbed a cold host twice over:
- A cold viewport read exceeded its 1 s cap before the tree capture the test
targets, so the abandonment reason read "preparing tree snapshot" (4 CI
failures at line 106). An unstubbed viewport and orientation read now runs
before the timed section; the production 1 s cap is unchanged.
- The blocking-snapshot stub's own 20 s timeout could release the main thread
before the test read abandonedMainThreadWorkCount, reading Optional(0)
(2 CI failures at line 111). Pinning that timeout to the 8 s slice budget
reproduces the race; it is now a 75 s leak guard the test's own release
signal always beats.
testBareTypeUsesTappedInputWhenSoftwareKeyboardIsHidden asserts the text-entry
route. A simulator that drops synthesized keystrokes makes the runner answer
TEXT_INPUT_COMMIT_NOT_OBSERVED on that same route, which the test now accepts;
a wrong route, any other error, or an ok response with the wrong value still
fails. Full commit on this route stays asserted by
testHealthyCoordinateTapPreservesBareTypingWitness.1 parent c3e3451 commit 41249a0
2 files changed
Lines changed: 39 additions & 4 deletions
File tree
- apple/runner/AgentDeviceRunner/AgentDeviceRunnerUITests
- UnitTests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
398 | 398 | | |
399 | 399 | | |
400 | 400 | | |
401 | | - | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
402 | 407 | | |
403 | 408 | | |
404 | | - | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
405 | 425 | | |
406 | 426 | | |
407 | 427 | | |
| |||
412 | 432 | | |
413 | 433 | | |
414 | 434 | | |
415 | | - | |
| 435 | + | |
416 | 436 | | |
417 | 437 | | |
418 | 438 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
21 | 29 | | |
22 | 30 | | |
23 | 31 | | |
| |||
50 | 58 | | |
51 | 59 | | |
52 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
53 | 68 | | |
54 | 69 | | |
55 | 70 | | |
| |||
0 commit comments