debug: modify a few more tests make sure that fleky-test-detection job is still active for non-upgrade tests

pull/7413/head
Onur Tirtir 2024-01-16 14:11:28 +03:00
parent 8007310846
commit fa07b428e0
6 changed files with 25 additions and 1 deletions

View File

@ -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$

View File

@ -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 $$

View File

@ -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;

View File

@ -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;

View File

@ -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 $$

View File

@ -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