From 6caa2fa99c397318f35cc0086e39548253a4c0d5 Mon Sep 17 00:00:00 2001 From: Alexander Kukushkin Date: Fri, 31 Jan 2025 16:44:32 +0100 Subject: [PATCH] Enable behave tests with Citus 13 and PostgreSQL 17 (#3262) Also increase timeout from 15m to 20m --- .github/workflows/install_deps.py | 4 ++-- .github/workflows/run_tests.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/install_deps.py b/.github/workflows/install_deps.py index 033a1b6a..5fd3ae5b 100644 --- a/.github/workflows/install_deps.py +++ b/.github/workflows/install_deps.py @@ -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) diff --git a/.github/workflows/run_tests.py b/.github/workflows/run_tests.py index 9a9d4db1..924f650c 100644 --- a/.github/workflows/run_tests.py +++ b/.github/workflows/run_tests.py @@ -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')