Commit d449045
The teardown test waits for the branch to go, which is now the last thing teardown does (#1650)
The second run in the test commits nothing and its tip is already on origin
under the first run's branch, so it now takes the no-push path and its branch
is deleted after the checkout. The test only waited for the checkout to
vanish, then removed the repo under a `git branch -D` still writing into
`.git` — ENOTEMPTY on CI. It now waits for the branch's absence and asserts
it, and that nothing was pushed.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 0b77bb5 commit d449045
1 file changed
Lines changed: 21 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
374 | | - | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
375 | 395 | | |
376 | 396 | | |
377 | 397 | | |
| |||
0 commit comments