mirror of https://github.com/citusdata/citus.git
Adds comments describing shadow tests
parent
3a2a30bf88
commit
742baf78f2
|
@ -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;
|
||||
|
|
|
@ -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 $$
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 '|'
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 '|'
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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 $$
|
||||
|
|
Loading…
Reference in New Issue