diff --git a/src/test/regress/expected/multi_create_table_shadow.out b/src/test/regress/expected/multi_create_table_shadow.out index 9b58724e3..c5194ee6f 100644 --- a/src/test/regress/expected/multi_create_table_shadow.out +++ b/src/test/regress/expected/multi_create_table_shadow.out @@ -1,6 +1,8 @@ -- -- MULTI_CREATE_TABLE -- +-- Some of the tests fail but without them some other tests fail. So failing parts +-- are removed to create shadow tests. This is one of them. ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 360000; ERROR: must be owner of sequence pg_dist_shardid_seq ALTER SEQUENCE pg_catalog.pg_dist_colocationid_seq RESTART 100000; diff --git a/src/test/regress/expected/multi_test_helpers_shadow.out b/src/test/regress/expected/multi_test_helpers_shadow.out index 3ae6c3b42..554e15cb3 100644 --- a/src/test/regress/expected/multi_test_helpers_shadow.out +++ b/src/test/regress/expected/multi_test_helpers_shadow.out @@ -1,4 +1,6 @@ -- File to create functions and helpers needed for subsequent tests +-- Some of the tests fail but without them some other tests fail. So failing parts +-- are removed to create shadow tests. This is one of them. -- create a helper function to create objects on each node CREATE OR REPLACE FUNCTION run_command_on_master_and_workers(p_sql text) RETURNS void LANGUAGE plpgsql AS $$ diff --git a/src/test/regress/input/multi_behavioral_analytics_create_table_shadow.source b/src/test/regress/input/multi_behavioral_analytics_create_table_shadow.source index 2be0a888d..bd39f3480 100644 --- a/src/test/regress/input/multi_behavioral_analytics_create_table_shadow.source +++ b/src/test/regress/input/multi_behavioral_analytics_create_table_shadow.source @@ -2,6 +2,10 @@ -- multi behavioral analytics -- this file is intended to create the table requires for the tests -- + +-- Some of the tests fail but without them some other tests fail. So failing parts +-- are removed to create shadow tests. This is one of them. + SET citus.next_shard_id TO 1400000; SET citus.shard_replication_factor = 1; SET citus.shard_count = 32; diff --git a/src/test/regress/input/multi_load_data_shadow.source b/src/test/regress/input/multi_load_data_shadow.source index 6021bcd34..0b65fdfc6 100644 --- a/src/test/regress/input/multi_load_data_shadow.source +++ b/src/test/regress/input/multi_load_data_shadow.source @@ -6,6 +6,9 @@ -- citus.shard_max_size. These values are set in pg_regress_multi.pl. Shard placement -- policy is left to the default value (round-robin) to test the common install case. +-- Some of the tests fail but without them some other tests fail. So failing parts +-- are removed to create shadow tests. This is one of them. + SET citus.next_shard_id TO 290000; \copy lineitem FROM '@abs_srcdir@/data/lineitem.1.data' with delimiter '|' diff --git a/src/test/regress/output/multi_behavioral_analytics_create_table_shadow.source b/src/test/regress/output/multi_behavioral_analytics_create_table_shadow.source index 5130d52fe..dbfa72c68 100644 --- a/src/test/regress/output/multi_behavioral_analytics_create_table_shadow.source +++ b/src/test/regress/output/multi_behavioral_analytics_create_table_shadow.source @@ -2,6 +2,8 @@ -- multi behavioral analytics -- this file is intended to create the table requires for the tests -- +-- Some of the tests fail but without them some other tests fail. So failing parts +-- are removed to create shadow tests. This is one of them. SET citus.next_shard_id TO 1400000; SET citus.shard_replication_factor = 1; SET citus.shard_count = 32; diff --git a/src/test/regress/output/multi_load_data_shadow.source b/src/test/regress/output/multi_load_data_shadow.source index d8099d0f8..726d99288 100644 --- a/src/test/regress/output/multi_load_data_shadow.source +++ b/src/test/regress/output/multi_load_data_shadow.source @@ -5,6 +5,8 @@ -- of shards uploaded depends on two config values: citus.shard_replication_factor and -- citus.shard_max_size. These values are set in pg_regress_multi.pl. Shard placement -- policy is left to the default value (round-robin) to test the common install case. +-- Some of the tests fail but without them some other tests fail. So failing parts +-- are removed to create shadow tests. This is one of them. SET citus.next_shard_id TO 290000; \copy lineitem FROM '@abs_srcdir@/data/lineitem.1.data' with delimiter '|' \copy lineitem FROM '@abs_srcdir@/data/lineitem.2.data' with delimiter '|' diff --git a/src/test/regress/sql/multi_create_table_shadow.sql b/src/test/regress/sql/multi_create_table_shadow.sql index 29e4aa3a7..123ac043f 100644 --- a/src/test/regress/sql/multi_create_table_shadow.sql +++ b/src/test/regress/sql/multi_create_table_shadow.sql @@ -2,6 +2,9 @@ -- MULTI_CREATE_TABLE -- +-- Some of the tests fail but without them some other tests fail. So failing parts +-- are removed to create shadow tests. This is one of them. + ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 360000; ALTER SEQUENCE pg_catalog.pg_dist_colocationid_seq RESTART 100000; diff --git a/src/test/regress/sql/multi_test_helpers_shadow.sql b/src/test/regress/sql/multi_test_helpers_shadow.sql index 0a73c51fc..fae60f243 100644 --- a/src/test/regress/sql/multi_test_helpers_shadow.sql +++ b/src/test/regress/sql/multi_test_helpers_shadow.sql @@ -1,5 +1,8 @@ -- File to create functions and helpers needed for subsequent tests +-- Some of the tests fail but without them some other tests fail. So failing parts +-- are removed to create shadow tests. This is one of them. + -- create a helper function to create objects on each node CREATE OR REPLACE FUNCTION run_command_on_master_and_workers(p_sql text) RETURNS void LANGUAGE plpgsql AS $$