Repository navigation
Commit 10af31a
committed
test(vmi): route vmi/vmdisk backup harness edits to the vminstance suite
The vminstance-2-backup-roundtrip and vmdisk-2-backup-roundtrip Chainsaw
tests execute examples/backups/{vmi,vmdisk}/run-all.sh as their harness,
but select-e2e.sh only maps an examples/backups/<dir>/ edit to a suite
when <dir> is a suite name. The dirs are vmi/vmdisk while the suite is
vminstance, so a harness-only edit selected no suite and the round-trip
that runs it never ran. Translate both dirs to vminstance, matching the
vm-disk-application entry in src_to_suites, and lock it with a bats case.
Also fold in the review follow-ups from this modernization:
- repoint the controller-owned-teardown example in docs/agents/e2e-testing.md
from the deleted hack/e2e-chainsaw/backup/ suite to the live round-trips
- correct the failIfTargetExists comment in the in-place restore examples
(enforced only for restore-to-copy; a no-op in-place)
- gate the run-all.sh "restored to a copy" summary line on
SKIP_RESTORE_TO_COPY so the CI path does not claim a step it skipped
Assisted-by: LLM
Signed-off-by: Andrey Kolkov <[email protected]>1 parent 60471e4 commit 10af31a
6 files changed
Lines changed: 23 additions & 4 deletions
File tree
- docs/agents
- examples/backups
- vmdisk
- vmi
- hack
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
59 | 61 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
409 | 409 | | |
410 | 410 | | |
411 | 411 | | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
412 | 418 | | |
413 | 419 | | |
414 | 420 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
277 | 288 | | |
278 | 289 | | |
279 | 290 | | |
| |||
0 commit comments