mirror of https://github.com/citusdata/citus.git
Add test for idempotency of citus_prepare_pg_upgrade
parent
5ba6edaa48
commit
2e0f9cff59
|
@ -66,6 +66,8 @@ def main(config):
|
|||
common.run_pg_regress(config.old_bindir, config.pg_srcdir,
|
||||
NODE_PORTS[COORDINATOR_NAME], AFTER_PG_UPGRADE_SCHEDULE)
|
||||
|
||||
citus_prepare_pg_upgrade(config.old_bindir)
|
||||
# prepare should be idempotent, calling it a second time should never fail.
|
||||
citus_prepare_pg_upgrade(config.old_bindir)
|
||||
common.stop_databases(config.old_bindir, config.old_datadir)
|
||||
|
||||
|
|
Loading…
Reference in New Issue