Repository navigation
Commit dffa880
committed
test(ci): drop EXIT traps from the overlay tests and pin the classifier's narrowness
hack/bats-no-exit-trap.bats audits every .bats file under hack against the debt
its own header declares, and the two commits before this one added three EXIT
traps to a file declaring eleven, which is why Unit & controller tests is red.
An EXIT trap inside an @test body replaces the one the bats binary installs for
its own bookkeeping, so a test that then fails prints no TAP line at all and the
suite reads as green. That is the reason the count is exact rather than a
ceiling, and the reason the answer here is to stop installing the handler rather
than to raise the number. Clean up at the end of the body instead: both runners
set -e, so on failure the cleanup is unreachable and the scratch directory
survives for inspection.
Mutating the classifier separately showed its trailing colon was held by
nothing. Remove it and imagePullPolicy matches the key branch, so a file
differing only on a pull policy is overlaid and the ref the PR committed is
silently replaced. The comment asserting that narrowness now has a test behind
it.
Assisted-by: LLM
Signed-off-by: IvanHunters <[email protected]>1 parent 895b30f commit dffa880
1 file changed
Lines changed: 26 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
233 | | - | |
| 233 | + | |
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
240 | 259 | | |
241 | 260 | | |
242 | 261 | | |
243 | 262 | | |
244 | | - | |
| 263 | + | |
245 | 264 | | |
246 | 265 | | |
247 | 266 | | |
| |||
257 | 276 | | |
258 | 277 | | |
259 | 278 | | |
| 279 | + | |
| 280 | + | |
260 | 281 | | |
261 | 282 | | |
262 | 283 | | |
263 | 284 | | |
264 | | - | |
| 285 | + | |
265 | 286 | | |
266 | 287 | | |
267 | 288 | | |
268 | 289 | | |
269 | 290 | | |
270 | 291 | | |
| 292 | + | |
| 293 | + | |
271 | 294 | | |
0 commit comments