mirror of https://github.com/citusdata/citus.git
debug: modify a few more tests make sure that fleky-test-detection job is still active for non-upgrade tests
parent
8007310846
commit
fa07b428e0
|
@ -7,6 +7,12 @@
|
||||||
-- not done yet.
|
-- not done yet.
|
||||||
--
|
--
|
||||||
-- Upgrade tests verify the objects are added in citus_finish_pg_upgrade()
|
-- Upgrade tests verify the objects are added in citus_finish_pg_upgrade()
|
||||||
|
SELECT 1;
|
||||||
|
?column?
|
||||||
|
---------------------------------------------------------------------
|
||||||
|
1
|
||||||
|
(1 row)
|
||||||
|
|
||||||
SET citus.next_shard_id TO 580000;
|
SET citus.next_shard_id TO 580000;
|
||||||
CREATE SCHEMA multi_extension;
|
CREATE SCHEMA multi_extension;
|
||||||
SELECT $definition$
|
SELECT $definition$
|
||||||
|
|
|
@ -1,4 +1,10 @@
|
||||||
-- File to create functions and helpers needed for subsequent tests
|
-- File to create functions and helpers needed for subsequent tests
|
||||||
|
SELECT 1;
|
||||||
|
?column?
|
||||||
|
---------------------------------------------------------------------
|
||||||
|
1
|
||||||
|
(1 row)
|
||||||
|
|
||||||
-- create a helper function to create objects on each node
|
-- create a helper function to create objects on each node
|
||||||
CREATE OR REPLACE FUNCTION run_command_on_master_and_workers(p_sql text)
|
CREATE OR REPLACE FUNCTION run_command_on_master_and_workers(p_sql text)
|
||||||
RETURNS void LANGUAGE plpgsql AS $$
|
RETURNS void LANGUAGE plpgsql AS $$
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
SELECT 1;
|
||||||
|
?column?
|
||||||
|
----------
|
||||||
|
1
|
||||||
|
(1 row)
|
||||||
|
|
||||||
SET search_path TO upgrade_columnar, public;
|
SET search_path TO upgrade_columnar, public;
|
||||||
-- test we retained data
|
-- test we retained data
|
||||||
SELECT * FROM test_retains_data ORDER BY a;
|
SELECT * FROM test_retains_data ORDER BY a;
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
--
|
--
|
||||||
-- Upgrade tests verify the objects are added in citus_finish_pg_upgrade()
|
-- Upgrade tests verify the objects are added in citus_finish_pg_upgrade()
|
||||||
|
|
||||||
|
SELECT 1;
|
||||||
|
|
||||||
SET citus.next_shard_id TO 580000;
|
SET citus.next_shard_id TO 580000;
|
||||||
CREATE SCHEMA multi_extension;
|
CREATE SCHEMA multi_extension;
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
-- File to create functions and helpers needed for subsequent tests
|
-- File to create functions and helpers needed for subsequent tests
|
||||||
|
|
||||||
|
SELECT 1;
|
||||||
|
|
||||||
-- create a helper function to create objects on each node
|
-- create a helper function to create objects on each node
|
||||||
CREATE OR REPLACE FUNCTION run_command_on_master_and_workers(p_sql text)
|
CREATE OR REPLACE FUNCTION run_command_on_master_and_workers(p_sql text)
|
||||||
RETURNS void LANGUAGE plpgsql AS $$
|
RETURNS void LANGUAGE plpgsql AS $$
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
SELECT 1;
|
||||||
|
|
||||||
SET search_path TO upgrade_columnar, public;
|
SET search_path TO upgrade_columnar, public;
|
||||||
|
|
||||||
-- test we retained data
|
-- test we retained data
|
||||||
|
|
Loading…
Reference in New Issue