Fix metadata sync fails on multi_replicate_reference_table test

fix_metadata_sync_fails_on_replicate_reference_table
Halil Ozan Akgul 2021-12-09 11:18:32 +03:00
parent 73ba38eac4
commit 49a4e61001
3 changed files with 2 additions and 5 deletions

View File

@ -669,7 +669,7 @@ ORDER BY shardid, nodeport;
(0 rows)
-- verify constraints have been created on the new node
SELECT run_command_on_workers('select count(*) from pg_constraint where contype=''f'' AND conname like ''ref_table%'';');
SELECT run_command_on_workers('select count(*) from pg_constraint where contype=''f'' AND conname similar to ''ref_table%\d'';');
run_command_on_workers
---------------------------------------------------------------------
(localhost,57637,t,2)

View File

@ -48,8 +48,6 @@ test: multi_read_from_secondaries
# ----------
# multi_citus_tools tests utility functions written for citus tools
# ----------
test: check_mx
test: turn_mx_off
test: multi_citus_tools
# ----------
@ -57,7 +55,6 @@ test: multi_citus_tools
# multi_remove_node_reference_table tests metadata changes after master_remove_node
# ----------
test: multi_replicate_reference_table
test: turn_mx_on
test: multi_remove_node_reference_table
# ----------

View File

@ -451,7 +451,7 @@ WHERE
ORDER BY shardid, nodeport;
-- verify constraints have been created on the new node
SELECT run_command_on_workers('select count(*) from pg_constraint where contype=''f'' AND conname like ''ref_table%'';');
SELECT run_command_on_workers('select count(*) from pg_constraint where contype=''f'' AND conname similar to ''ref_table%\d'';');
DROP TABLE ref_table_1, ref_table_2, ref_table_3;