Repository navigation
Commit 09d30bf
committed
test(ios): resolve the host app before stubbing its tree snapshot
Running the suite on a freshly booted simulator, with this test as the
first to launch the host app, the runner was killed with SIGTERM about
30 s in ("Test crashed with signal term"). The stub only ever blocks the
tree XPC, but a cold first launch adds a slow "Find the Target
Application" resolution inside the plan. Resolve the application element
before installing the stub, and give the plan wait 60 s instead of 30 so a
slow cold path cannot tear the test down while the plan still runs.
Verified with three cold-boot runs of the test and one full suite from a
fresh boot (248 tests, 0 failures, no runner restart).1 parent 649d918 commit 09d30bf
1 file changed
Lines changed: 5 additions & 1 deletion
File tree
- apple/runner/AgentDeviceRunner/AgentDeviceRunnerUITests/UnitTests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
49 | 53 | | |
50 | 54 | | |
51 | 55 | | |
| |||
89 | 93 | | |
90 | 94 | | |
91 | 95 | | |
92 | | - | |
| 96 | + | |
93 | 97 | | |
94 | 98 | | |
95 | 99 | | |
| |||
0 commit comments