diff --git a/src/test/regress/expected/multi_colocated_shard_rebalance.out b/src/test/regress/expected/multi_colocated_shard_rebalance.out index 939414ef9..94097218b 100644 --- a/src/test/regress/expected/multi_colocated_shard_rebalance.out +++ b/src/test/regress/expected/multi_colocated_shard_rebalance.out @@ -492,11 +492,12 @@ SELECT "Constraint", "Definition" FROM table_fkeys WHERE "Constraint" LIKE 'table2_group%' OR "Constraint" LIKE 'table1_group%'; Constraint | Definition --------------------------------------------------------------------- + table2_group1_table1_id_fkey | FOREIGN KEY (table1_id) REFERENCES table1_group1(id) table2_group1_table1_id_fkey_13000028 | FOREIGN KEY (table1_id) REFERENCES table1_group1_13000022(id) table2_group1_table1_id_fkey_13000029 | FOREIGN KEY (table1_id) REFERENCES table1_group1_13000023(id) table2_group1_table1_id_fkey_13000031 | FOREIGN KEY (table1_id) REFERENCES table1_group1_13000025(id) table2_group1_table1_id_fkey_13000033 | FOREIGN KEY (table1_id) REFERENCES table1_group1_13000027(id) -(4 rows) +(5 rows) \c - - - :master_port -- test shard copy with foreign constraints diff --git a/src/test/regress/expected/multi_move_mx.out b/src/test/regress/expected/multi_move_mx.out index d447be98f..fec42b594 100644 --- a/src/test/regress/expected/multi_move_mx.out +++ b/src/test/regress/expected/multi_move_mx.out @@ -2,12 +2,6 @@ -- MULTI_MOVE_MX -- ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1550000; -SELECT start_metadata_sync_to_node('localhost', :worker_2_port); - start_metadata_sync_to_node ---------------------------------------------------------------------- - -(1 row) - -- Create mx test tables SET citus.shard_count TO 4; SET citus.shard_replication_factor TO 1; @@ -220,15 +214,3 @@ HINT: Connect to the coordinator and run it again. DROP TABLE mx_table_1; DROP TABLE mx_table_2; DROP TABLE mx_table_3; -SELECT stop_metadata_sync_to_node('localhost', :worker_2_port); -NOTICE: dropping metadata on the node (localhost,57638) - stop_metadata_sync_to_node ---------------------------------------------------------------------- - -(1 row) - -\c - - - :worker_2_port -DELETE FROM pg_dist_node; -DELETE FROM pg_dist_partition; -DELETE FROM pg_dist_shard; -DELETE FROM pg_dist_shard_placement; diff --git a/src/test/regress/operations_schedule b/src/test/regress/operations_schedule index d12ccf1b3..2692f212f 100644 --- a/src/test/regress/operations_schedule +++ b/src/test/regress/operations_schedule @@ -8,3 +8,4 @@ test: multi_move_mx test: shard_move_deferred_delete test: multi_colocated_shard_rebalance test: ignoring_orphaned_shards +test: check_mx diff --git a/src/test/regress/sql/multi_move_mx.sql b/src/test/regress/sql/multi_move_mx.sql index 5689e8f80..740d19462 100644 --- a/src/test/regress/sql/multi_move_mx.sql +++ b/src/test/regress/sql/multi_move_mx.sql @@ -3,8 +3,6 @@ -- ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1550000; -SELECT start_metadata_sync_to_node('localhost', :worker_2_port); - -- Create mx test tables SET citus.shard_count TO 4; SET citus.shard_replication_factor TO 1; @@ -134,9 +132,3 @@ LIMIT 1 OFFSET 1; DROP TABLE mx_table_1; DROP TABLE mx_table_2; DROP TABLE mx_table_3; -SELECT stop_metadata_sync_to_node('localhost', :worker_2_port); -\c - - - :worker_2_port -DELETE FROM pg_dist_node; -DELETE FROM pg_dist_partition; -DELETE FROM pg_dist_shard; -DELETE FROM pg_dist_shard_placement;