Repository navigation
Commit ba93660
committed
test(ios): stop cold-host timing from failing the occupancy test
testAbandonedTreeCaptureSkipsQuerySweepAndHonorsWarmupExemption runs first in
the targeted XCTest lane and absorbed a cold host twice over:
- A cold viewport read overran 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). The test now pays that read uncapped before the timed
section; the production cap is unchanged.
- The blocking stub's own 20 s timeout could release the main thread before
the test read the abandoned-work count, reading Optional(0) (2 CI failures at
line 111). It is now a named leak guard far past the plan deadline, so only
the test's release ends the block.1 parent fa3b729 commit ba93660
1 file changed
Lines changed: 9 additions & 1 deletion
File tree
- apple/runner/AgentDeviceRunner/AgentDeviceRunnerUITests/UnitTests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
18 | 22 | | |
19 | 23 | | |
20 | | - | |
| 24 | + | |
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
| |||
50 | 54 | | |
51 | 55 | | |
52 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
53 | 61 | | |
54 | 62 | | |
55 | 63 | | |
| |||
0 commit comments