From 41e2af8ff5d86c9b327b96cd57f08d26777b7d13 Mon Sep 17 00:00:00 2001 From: Karina <55838532+Green-Chan@users.noreply.github.com> Date: Tue, 16 Apr 2024 11:44:47 +0300 Subject: [PATCH] Use expecteddir option in _run_pg_regress() (#7582) Fix check-arbitrary-configs tests failure with current REL_16_STABLE. This is the same problem as described in #7573. I missed pg_regress call in _run_pg_regress() in that PR. Co-authored-by: Karina Litskevich --- src/test/regress/citus_tests/common.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/test/regress/citus_tests/common.py b/src/test/regress/citus_tests/common.py index 2135a0eba..6c09e0b38 100644 --- a/src/test/regress/citus_tests/common.py +++ b/src/test/regress/citus_tests/common.py @@ -294,6 +294,9 @@ def _run_pg_regress( output_dir, "--use-existing", ] + if PG_MAJOR_VERSION >= 16: + command.append("--expecteddir") + command.append(output_dir) if extra_tests != "": command.append(extra_tests)