Commit 3b026de
committed
test(coverage): skip subshell tests under parallel mode and on Git Bash
Enabling the DEBUG trap inside a parallel test worker process makes the
worker fire the trap on every internal coordination command, which
combines with /tmp file-I/O contention to deadlock CI runners (15-minute
timeouts on Ubuntu/Alpine parallel jobs and on Windows Git Bash).
The contracts these tests pin are deterministic in single-process mode,
so the parallel run is not a useful execution context. Adds a guard
that calls bashunit::skip when BASHUNIT_PARALLEL_RUN=true or when
running on CYGWIN/MINGW/MSYS, and applies it to all five subshell
tests.1 parent 46dbad5 commit 3b026de
1 file changed
Lines changed: 25 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
17 | 37 | | |
18 | 38 | | |
19 | 39 | | |
| |||
85 | 105 | | |
86 | 106 | | |
87 | 107 | | |
| 108 | + | |
88 | 109 | | |
89 | 110 | | |
90 | 111 | | |
| |||
104 | 125 | | |
105 | 126 | | |
106 | 127 | | |
| 128 | + | |
107 | 129 | | |
108 | 130 | | |
109 | 131 | | |
| |||
125 | 147 | | |
126 | 148 | | |
127 | 149 | | |
| 150 | + | |
128 | 151 | | |
129 | 152 | | |
130 | 153 | | |
| |||
142 | 165 | | |
143 | 166 | | |
144 | 167 | | |
| 168 | + | |
145 | 169 | | |
146 | 170 | | |
147 | 171 | | |
| |||
162 | 186 | | |
163 | 187 | | |
164 | 188 | | |
| 189 | + | |
165 | 190 | | |
166 | 191 | | |
167 | 192 | | |
| |||
0 commit comments