Skip to content

Commit

Permalink
Fix running PG upgrade tests with run_test.py
Browse files Browse the repository at this point in the history
In #6814 we started using the Python test runner for upgrade tests in
run_test.py, instead of the Perl based one. This had a problem though,
not all tests in minimal_schedule can be run with the Python runner.
This adds a separate minimal schedule for the pg_upgrade tests which
doesn't include the tests that break with the Python runner.
  • Loading branch information
JelteF committed Apr 5, 2023
1 parent e5e5eb3 commit 6eccdbd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/regress/citus_tests/run_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def default_base_schedule(test_schedule, args):
return None

if "pg_upgrade" in test_schedule:
return "minimal_schedule"
return "minimal_pg_upgrade_schedule"

if test_schedule in ARBITRARY_SCHEDULE_NAMES:
print(f"WARNING: Arbitrary config schedule ({test_schedule}) is not supported.")
Expand Down
1 change: 1 addition & 0 deletions src/test/regress/minimal_pg_upgrade_schedule
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
test: multi_test_helpers multi_test_helpers_superuser multi_test_catalog_views

0 comments on commit 6eccdbd

Please sign in to comment.