Commit 2e35c0a
authored
fix flaky test that can hang in CI (#205)
motivation: stable CI
background:
* testSignal can hang *sometimes* when the child processes it creates do not recieve the expeted signal.
* this has been observed when waitForFile timed-out and the test existed before issuing the signal.
* this behavior is unexpected and points to potential issue with xctest, but this fix attempts to workaround the underlying issue by making sure the sub-rocesses are forced-killed by the test itself
changes:
* regsiter the sub-processes in a process-set and force temrinate them at the end of the test
rdar://743564451 parent 38b42c1 commit 2e35c0a
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
119 | 120 | | |
120 | 121 | | |
121 | 122 | | |
| |||
125 | 126 | | |
126 | 127 | | |
127 | 128 | | |
| 129 | + | |
128 | 130 | | |
129 | 131 | | |
130 | 132 | | |
| |||
152 | 154 | | |
153 | 155 | | |
154 | 156 | | |
| 157 | + | |
155 | 158 | | |
156 | 159 | | |
157 | 160 | | |
| |||
183 | 186 | | |
184 | 187 | | |
185 | 188 | | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
186 | 192 | | |
187 | 193 | | |
188 | 194 | | |
| |||
0 commit comments