From bf6b7b518e7cafa0572a81ec08b3e4eedc99e7d0 Mon Sep 17 00:00:00 2001 From: Burak Velioglu Date: Mon, 17 Jan 2022 17:48:01 +0300 Subject: [PATCH] Add log to isolation test --- src/test/regress/input/multi_copy.source | 5 +++++ .../isolation_replicate_reference_tables_to_coordinator.spec | 3 +++ 2 files changed, 8 insertions(+) diff --git a/src/test/regress/input/multi_copy.source b/src/test/regress/input/multi_copy.source index b40cdd2d5..29750a1f9 100644 --- a/src/test/regress/input/multi_copy.source +++ b/src/test/regress/input/multi_copy.source @@ -497,7 +497,12 @@ SELECT shardid, nodename, nodeport WHERE logicalrelid = 'numbers_append'::regclass order by placementid; -- add the node back +SET citus.log_remote_commands to true; +SET citus.worker_min_messages to debug4; +set client_min_messages to debug4; SELECT 1 FROM master_activate_node('localhost', :worker_1_port); +reset citus.log_remote_commands; +reset citus.worker_min_messages; RESET client_min_messages; RESET citus.shard_replication_factor; -- add two new shards and verify they are created at both workers diff --git a/src/test/regress/spec/isolation_replicate_reference_tables_to_coordinator.spec b/src/test/regress/spec/isolation_replicate_reference_tables_to_coordinator.spec index 35423017b..aa41854de 100644 --- a/src/test/regress/spec/isolation_replicate_reference_tables_to_coordinator.spec +++ b/src/test/regress/spec/isolation_replicate_reference_tables_to_coordinator.spec @@ -1,5 +1,8 @@ setup { + SET citus.log_remote_commands to true; + SET citus.worker_min_messages to debug4; + set client_min_messages to debug4; SELECT citus_internal.replace_isolation_tester_func(); SELECT citus_internal.refresh_isolation_tester_prepared_statement();