mirror of https://github.com/citusdata/citus.git
Merge pull request #5628 from citusdata/turn-mx-on-test-citus-local-tables
Turn mx on for test file citus_local_tables in multi-1 schedulepull/5634/head
commit
65ab34810b
|
@ -844,21 +844,28 @@ SELECT relname FROM pg_class
|
||||||
ORDER BY relname;
|
ORDER BY relname;
|
||||||
relname
|
relname
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
|
partitioned_distributed
|
||||||
|
partitioned_distributed_1
|
||||||
partitioned_distributed_1504038
|
partitioned_distributed_1504038
|
||||||
partitioned_distributed_1504040
|
partitioned_distributed_1504040
|
||||||
partitioned_distributed_1_1504042
|
partitioned_distributed_1_1504042
|
||||||
partitioned_distributed_1_1504044
|
partitioned_distributed_1_1504044
|
||||||
|
partitioned_distributed_1_a_key
|
||||||
partitioned_distributed_1_a_key_1504042
|
partitioned_distributed_1_a_key_1504042
|
||||||
partitioned_distributed_1_a_key_1504044
|
partitioned_distributed_1_a_key_1504044
|
||||||
|
partitioned_distributed_2
|
||||||
partitioned_distributed_2_1504046
|
partitioned_distributed_2_1504046
|
||||||
partitioned_distributed_2_1504048
|
partitioned_distributed_2_1504048
|
||||||
|
partitioned_distributed_2_a_key
|
||||||
partitioned_distributed_2_a_key_1504046
|
partitioned_distributed_2_a_key_1504046
|
||||||
partitioned_distributed_2_a_key_1504048
|
partitioned_distributed_2_a_key_1504048
|
||||||
|
partitioned_distributed_a_key
|
||||||
partitioned_distributed_a_key_1504038
|
partitioned_distributed_a_key_1504038
|
||||||
partitioned_distributed_a_key_1504040
|
partitioned_distributed_a_key_1504040
|
||||||
(12 rows)
|
(18 rows)
|
||||||
|
|
||||||
\c - - - :master_port
|
\c - - - :master_port
|
||||||
|
SET citus.next_shard_id TO 1904000;
|
||||||
SET search_path TO citus_local_tables_test_schema;
|
SET search_path TO citus_local_tables_test_schema;
|
||||||
-- error out if converting multi-level partitioned table
|
-- error out if converting multi-level partitioned table
|
||||||
CREATE TABLE multi_par (id text, country text) PARTITION BY RANGE (id);
|
CREATE TABLE multi_par (id text, country text) PARTITION BY RANGE (id);
|
||||||
|
@ -945,7 +952,7 @@ select count(*) from pg_constraint where conname = 'fkey_test_drop';
|
||||||
select inhrelid::regclass from pg_inherits where (select inhparent::regclass::text) ~ '^parent_1_\d{7}$' order by 1;
|
select inhrelid::regclass from pg_inherits where (select inhparent::regclass::text) ~ '^parent_1_\d{7}$' order by 1;
|
||||||
inhrelid
|
inhrelid
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
parent_1_child_1_1190046
|
parent_1_child_1_1904006
|
||||||
(1 row)
|
(1 row)
|
||||||
|
|
||||||
-- check the shell partition
|
-- check the shell partition
|
||||||
|
|
|
@ -270,13 +270,10 @@ test: multi_foreign_key_relation_graph
|
||||||
# Replicating reference tables to coordinator. Add coordinator to pg_dist_node
|
# Replicating reference tables to coordinator. Add coordinator to pg_dist_node
|
||||||
# and rerun some of the tests.
|
# and rerun some of the tests.
|
||||||
# --------
|
# --------
|
||||||
test: check_mx
|
|
||||||
test: add_coordinator
|
test: add_coordinator
|
||||||
test: foreign_key_to_reference_table
|
test: foreign_key_to_reference_table
|
||||||
test: replicate_reference_tables_to_coordinator
|
test: replicate_reference_tables_to_coordinator
|
||||||
test: turn_mx_off
|
|
||||||
test: citus_local_tables
|
test: citus_local_tables
|
||||||
test: turn_mx_on
|
|
||||||
test: mixed_relkind_tests
|
test: mixed_relkind_tests
|
||||||
test: multi_row_router_insert
|
test: multi_row_router_insert
|
||||||
test: multi_reference_table citus_local_tables_queries
|
test: multi_reference_table citus_local_tables_queries
|
||||||
|
|
|
@ -539,6 +539,7 @@ SELECT relname FROM pg_class
|
||||||
AND relnamespace IN (SELECT oid FROM pg_namespace WHERE nspname = 'citus_local_tables_test_schema')
|
AND relnamespace IN (SELECT oid FROM pg_namespace WHERE nspname = 'citus_local_tables_test_schema')
|
||||||
ORDER BY relname;
|
ORDER BY relname;
|
||||||
\c - - - :master_port
|
\c - - - :master_port
|
||||||
|
SET citus.next_shard_id TO 1904000;
|
||||||
SET search_path TO citus_local_tables_test_schema;
|
SET search_path TO citus_local_tables_test_schema;
|
||||||
|
|
||||||
-- error out if converting multi-level partitioned table
|
-- error out if converting multi-level partitioned table
|
||||||
|
|
Loading…
Reference in New Issue