Re-apply "Enable behave tests with Citus 13 and PostgreSQL 17" (#3285)

This reverts commit 3d932e1e73.
This commit is contained in:
Polina Bungina
2025-02-20 11:58:58 +01:00
committed by GitHub
parent e9ba775959
commit 33600976b1
+2 -2
View File
@@ -47,8 +47,8 @@ def install_packages(what):
packages['exhibitor'] = packages['zookeeper']
packages = packages.get(what, [])
ver = versions.get(what)
if 15 <= float(ver) < 17:
packages += ['postgresql-{0}-citus-12.1'.format(ver)]
if 15 <= float(ver) < 18:
packages += ['postgresql-{0}-citus-13.0'.format(ver)]
subprocess.call(['sudo', 'apt-get', 'update', '-y'])
return subprocess.call(['sudo', 'apt-get', 'install', '-y', 'postgresql-' + ver, 'expect-dev'] + packages)