Skip to content

Commit 72db4df

Browse files
Revert "Remove 6.1.x from upgrade paths"
This reverts commit 8376ce9. In addition, remove 6.1.0 from hotfix downgrade path
1 parent 8376ce9 commit 72db4df

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

tests/bwc/test_hotfix_downgrades.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ class HotfixDowngradeTest(NodeProvider, unittest.TestCase):
4141
def _run_downgrades(self, node):
4242
major, feature, hotfix = node.version
4343
for i in range(hotfix - 1, -1, -1):
44+
# Skip downgrading to version 6.1.0 as it had OID serialization issues
45+
if node.version == (6, 1, 1):
46+
return
4447
new_version = (major, feature, i)
4548
with self.subTest(version=new_version):
4649
node = self.upgrade_node(node, '.'.join(map(str, new_version)))
@@ -62,10 +65,6 @@ def test_can_downgrade_latest_testing_within_hotfix_versions(self):
6265
self._run_downgrades(node)
6366
cluster.stop()
6467

65-
@unittest.skip("""
66-
This is expected to fail until CrateDB v6.1.1 is out
67-
as 6.1.0 has issues with oid serialization.
68-
""")
6968
def test_can_downgrade_unreleased_testing_branch_within_hotfix_versions(self):
7069
versions = fetch_versions()
7170
version = versions["testing"]["version"]

tests/bwc/test_rolling_upgrade.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@
4545
UpgradePath('5.9.x', '5.10.x'),
4646
UpgradePath('5.10.x', '6.0.x'),
4747
UpgradePath('6.0.x', '6.0'),
48-
UpgradePath('6.0', '6.1'),
48+
UpgradePath('6.0', '6.1.x'),
49+
UpgradePath('6.1.x', '6.1'),
4950
UpgradePath('6.1', 'latest-nightly'),
5051
)
5152

tests/bwc/test_upgrade.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
VersionDef('5.10.x', []),
6161
VersionDef('6.0.x', []),
6262
VersionDef('6.0', []),
63+
VersionDef('6.1.x', []),
6364
VersionDef('6.1', []),
6465
VersionDef('latest-nightly', [])
6566
)

0 commit comments

Comments
 (0)