From 814e1a95de91452d8927176e2f97ba456cd10e89 Mon Sep 17 00:00:00 2001 From: Burak Velioglu Date: Thu, 10 Feb 2022 01:54:35 +0300 Subject: [PATCH] Fix mx tests --- src/test/regress/expected/coordinator_evaluation_modify.out | 2 ++ src/test/regress/sql/coordinator_evaluation_modify.sql | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/test/regress/expected/coordinator_evaluation_modify.out b/src/test/regress/expected/coordinator_evaluation_modify.out index 906dbffef..e75ac60b1 100644 --- a/src/test/regress/expected/coordinator_evaluation_modify.out +++ b/src/test/regress/expected/coordinator_evaluation_modify.out @@ -833,11 +833,13 @@ EXECUTE router_with_only_function; SET citus.log_local_commands TO ON; SET search_path TO coordinator_evaluation_combinations_modify; -- returns 2 on the worker +SET citus.enable_metadata_sync TO OFF; CREATE OR REPLACE FUNCTION get_constant_stable() RETURNS INT AS $$ BEGIN RETURN 2; END; $$ language plpgsql STABLE; +RESET citus.enable_metadata_sync; -- all local values INSERT INTO user_info_data (user_id, u_data) VALUES (3, '(''test3'', 3)'), (4, '(''test4'', 4)'), (7, '(''test7'', 7)'), diff --git a/src/test/regress/sql/coordinator_evaluation_modify.sql b/src/test/regress/sql/coordinator_evaluation_modify.sql index e4f104ad9..a4c9f75b5 100644 --- a/src/test/regress/sql/coordinator_evaluation_modify.sql +++ b/src/test/regress/sql/coordinator_evaluation_modify.sql @@ -275,11 +275,13 @@ SET citus.log_local_commands TO ON; SET search_path TO coordinator_evaluation_combinations_modify; -- returns 2 on the worker +SET citus.enable_metadata_sync TO OFF; CREATE OR REPLACE FUNCTION get_constant_stable() RETURNS INT AS $$ BEGIN RETURN 2; END; $$ language plpgsql STABLE; +RESET citus.enable_metadata_sync; -- all local values