Fixes some test errors

pull/7563/head
gurkanindibay 2024-03-22 14:48:06 +03:00
parent a4563cab45
commit c558caf4bb
2 changed files with 28 additions and 4 deletions

View File

@ -1,3 +1,27 @@
ALTER SYSTEM SET citus.enable_ddl_propagation = 'true';
SELECT pg_reload_conf();
pg_reload_conf
---------------------------------------------------------------------
t
(1 row)
\c - - - :worker_1_port
ALTER SYSTEM SET citus.enable_ddl_propagation = 'true';
SELECT pg_reload_conf();
pg_reload_conf
---------------------------------------------------------------------
t
(1 row)
\c - - - :worker_2_port
ALTER SYSTEM SET citus.enable_ddl_propagation = 'true';
SELECT pg_reload_conf();
pg_reload_conf
---------------------------------------------------------------------
t
(1 row)
\c - - - :master_port
SELECT citus.mitmproxy('conn.allow()'); SELECT citus.mitmproxy('conn.allow()');
mitmproxy mitmproxy
--------------------------------------------------------------------- ---------------------------------------------------------------------

View File

@ -1,4 +1,6 @@
-- we already have lots of tests targeting
-- single node citus clusters in sql/single_node.sql
-- in this file, we are testing enterprise features
ALTER SYSTEM SET citus.enable_ddl_propagation = 'true'; ALTER SYSTEM SET citus.enable_ddl_propagation = 'true';
SELECT pg_reload_conf(); SELECT pg_reload_conf();
pg_reload_conf pg_reload_conf
@ -23,9 +25,7 @@ SELECT pg_reload_conf();
(1 row) (1 row)
\c - - - :master_port \c - - - :master_port
-- we already have lots of tests targeting
-- single node citus clusters in sql/single_node.sql
-- in this file, we are testing enterprise features
CREATE SCHEMA single_node_ent; CREATE SCHEMA single_node_ent;
SET search_path TO single_node_ent; SET search_path TO single_node_ent;
SET citus.shard_count TO 4; SET citus.shard_count TO 4;