From bb636e6a29271b68af0c40fb594704ddd4cfda75 Mon Sep 17 00:00:00 2001 From: Halil Ozan Akgul Date: Fri, 24 Dec 2021 19:21:22 +0300 Subject: [PATCH] Fix metadata sync fails on multi_function_evaluation --- src/test/regress/expected/master_copy_shard_placement.out | 1 + src/test/regress/multi_1_schedule | 4 ++-- src/test/regress/sql/master_copy_shard_placement.sql | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/test/regress/expected/master_copy_shard_placement.out b/src/test/regress/expected/master_copy_shard_placement.out index 4b5ee8ae7..09fad3aa7 100644 --- a/src/test/regress/expected/master_copy_shard_placement.out +++ b/src/test/regress/expected/master_copy_shard_placement.out @@ -131,4 +131,5 @@ SELECT master_copy_shard_placement( transfer_mode := 'block_writes'); ERROR: Table 'mx_table' is streaming replicated. Shards of streaming replicated tables cannot be copied SET client_min_messages TO ERROR; +DROP TABLE mcsp.history; DROP SCHEMA mcsp CASCADE; diff --git a/src/test/regress/multi_1_schedule b/src/test/regress/multi_1_schedule index 1f00ca06d..33dfa1efc 100644 --- a/src/test/regress/multi_1_schedule +++ b/src/test/regress/multi_1_schedule @@ -242,13 +242,13 @@ test: multi_schema_support # ---------- # multi_function_evaluation tests edge-cases in master-side function pre-evaluation # ---------- -test: check_mx -test: turn_mx_off test: multi_function_evaluation # ---------- # multi_truncate tests truncate functionality for distributed tables # ---------- +test: check_mx +test: turn_mx_off test: multi_truncate # ---------- diff --git a/src/test/regress/sql/master_copy_shard_placement.sql b/src/test/regress/sql/master_copy_shard_placement.sql index 9f6949e37..f4b70fdb2 100644 --- a/src/test/regress/sql/master_copy_shard_placement.sql +++ b/src/test/regress/sql/master_copy_shard_placement.sql @@ -106,4 +106,5 @@ SELECT master_copy_shard_placement( transfer_mode := 'block_writes'); SET client_min_messages TO ERROR; +DROP TABLE mcsp.history; DROP SCHEMA mcsp CASCADE;