Test case UpgradeTest#upgradeFrom10 in the oak-jcr module unpacks an archived TarMK repository in the Oak 1.0 format and tries to run the current oak-segment on top on that. It also validates whether all the data are in place.
This works, because the oak-segment code automatically detects the old repository format and upgrades it in-place, without any user action.
However, after changing this test to use the oak-segment-next it'll break, because the upgrade path for the new repository code is more complex - it requires invoking the oak-upgrade manually, to sidegrade the data (as in
We should move this test to the oak-upgrade module and modify it a bit, so the data are sidegraded before the repository is validated.