Commit 6ba079b
committed
test: bound the swiftc and xcrun calls so a stalled toolchain fails fast
This test compiles a Swift harness with execFileSync and no timeout, so a
contended runner hangs the suite until the job-level timeout instead of
failing it. That now matters more: the new regressions job gates tag
creation, so a hang blocks a legitimate release rather than just a build.
Investigated after a single unreproducible failure (12 runs clean). It is
not a port race -- the server binds with listen(0) and the kernel assigns a
free port. The unbounded toolchain calls are the actual exposure.1 parent 268a160 commit 6ba079b
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
| 83 | + | |
| 84 | + | |
82 | 85 | | |
83 | 86 | | |
84 | 87 | | |
85 | 88 | | |
86 | 89 | | |
87 | 90 | | |
88 | | - | |
| 91 | + | |
89 | 92 | | |
90 | 93 | | |
91 | 94 | | |
| |||
0 commit comments