Repository navigation
Commit c8872e2
committed
test(run-engine): pin the snapshotRoute the vtime TTL sweep hands the worker
The fix for the missing snapshotRoute shipped without a test, on a field that
had already regressed twice. Reverting those lines left the suite green: every
other assertion about that sweep is about ckIndex and ckVtime bookkeeping, and
none of them read back the item the worker actually receives.
This enqueues a run carrying a route, runs the sweep, and reads the serialised
item out of the worker hash. Verified in both directions: dropping the field
from the item fails it with `expected undefined to deeply equal { kind: 's2',
version: 3 }`.1 parent c5c6bc9 commit c8872e2
1 file changed
Lines changed: 50 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1660 | 1660 | | |
1661 | 1661 | | |
1662 | 1662 | | |
| 1663 | + | |
| 1664 | + | |
| 1665 | + | |
| 1666 | + | |
| 1667 | + | |
| 1668 | + | |
| 1669 | + | |
| 1670 | + | |
| 1671 | + | |
| 1672 | + | |
| 1673 | + | |
| 1674 | + | |
| 1675 | + | |
| 1676 | + | |
| 1677 | + | |
| 1678 | + | |
| 1679 | + | |
| 1680 | + | |
| 1681 | + | |
| 1682 | + | |
| 1683 | + | |
| 1684 | + | |
| 1685 | + | |
| 1686 | + | |
| 1687 | + | |
| 1688 | + | |
| 1689 | + | |
| 1690 | + | |
| 1691 | + | |
| 1692 | + | |
| 1693 | + | |
| 1694 | + | |
| 1695 | + | |
| 1696 | + | |
| 1697 | + | |
| 1698 | + | |
| 1699 | + | |
| 1700 | + | |
| 1701 | + | |
| 1702 | + | |
| 1703 | + | |
| 1704 | + | |
| 1705 | + | |
| 1706 | + | |
| 1707 | + | |
| 1708 | + | |
| 1709 | + | |
| 1710 | + | |
| 1711 | + | |
| 1712 | + | |
1663 | 1713 | | |
1664 | 1714 | | |
1665 | 1715 | | |
| |||
0 commit comments