Skip to content

Commit

Permalink
Use expecteddir option in _run_pg_regress() (#7582)
Browse files Browse the repository at this point in the history
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 <[email protected]>
(cherry picked from commit 41e2af8)
  • Loading branch information
Green-Chan authored and JelteF committed Apr 16, 2024
1 parent e25d5c8 commit 4f887c1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/test/regress/citus_tests/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 4f887c1

Please sign in to comment.