Commit f574628
committed
test(backup): drop unnecessary PARENT_BACKUP_ID stub in sweep-pending-parent test
deletingLeafSweepsUpDeletePendingParent stubbed the leaf's PARENT_BACKUP_ID
but production never reads it on this path:
- findLiveChildren(leaf) iterates the sibling list and reads each *other*
backup's PARENT_BACKUP_ID against leaf.getUuid() — never the leaf's own.
- getChainOrderedLeafToRoot (introduced in 096bef1) walks the chain by
CHAIN_ID + CHAIN_POSITION; the legacy findChainParent → PARENT_BACKUP_ID
walk is bypassed for the sweep.
Same UnnecessaryStubbingException pattern as 9f4d61f; the parent's
PARENT_BACKUP_ID stub IS still used (findLiveChildren reads it) so it stays.
Unblocks CI for #13074.1 parent 4207ea9 commit f574628
1 file changed
Lines changed: 0 additions & 2 deletions
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
596 | 596 | | |
597 | 597 | | |
598 | 598 | | |
599 | | - | |
600 | 599 | | |
601 | 600 | | |
602 | | - | |
603 | 601 | | |
604 | 602 | | |
605 | 603 | | |
| |||
0 commit comments