Enable behave tests with Citus 13 and PostgreSQL 17 (#3262)

Also increase timeout from 15m to 20m
This commit is contained in:
Alexander Kukushkin
2025-01-31 16:44:32 +01:00
committed by GitHub
parent b4eab48971
commit 6caa2fa99c
2 changed files with 3 additions and 3 deletions
+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)
+1 -1
View File
@@ -27,7 +27,7 @@ def main():
version = versions.get(what)
path = '/usr/lib/postgresql/{0}/bin:.'.format(version)
unbuffer = ['timeout', '900', 'unbuffer']
unbuffer = ['timeout', '1200', 'unbuffer']
else:
if sys.platform == 'darwin':
version = os.environ.get('PGVERSION', '16.1-1')