You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudberry.apache.org by ma...@apache.org on 2025/03/23 02:36:58 UTC
(cloudberry) 01/02: Fix dispatch test in parallel mode
This is an automated email from the ASF dual-hosted git repository.
maxyang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudberry.git
commit 61cdc19d0f38e672aac8dc3fa1d9d8dd7ff1975d
Author: Jianghua Yang <yj...@gmail.com>
AuthorDate: Wed Mar 19 06:31:01 2025 +0800
Fix dispatch test in parallel mode
fault inject not compatible with parallel mode
---
src/test/regress/input/dispatch.source | 2 ++
src/test/regress/output/dispatch.source | 2 ++
2 files changed, 4 insertions(+)
diff --git a/src/test/regress/input/dispatch.source b/src/test/regress/input/dispatch.source
index 41ed0a9bb7..af71c03422 100644
--- a/src/test/regress/input/dispatch.source
+++ b/src/test/regress/input/dispatch.source
@@ -506,6 +506,8 @@ create or replace function fault_exec_plan(explain_analyze bool default true) re
declare
query text;
begin
+ -- close parallel when fault inject
+ set enable_parallel = off;
perform gp_inject_fault('executor_pre_tuple_processed', 'reset', dbid) from gp_segment_configuration;
perform gp_inject_fault('send_exec_stats', 'reset', dbid) from gp_segment_configuration;
diff --git a/src/test/regress/output/dispatch.source b/src/test/regress/output/dispatch.source
index 638970d6ab..c2a37c8af6 100644
--- a/src/test/regress/output/dispatch.source
+++ b/src/test/regress/output/dispatch.source
@@ -836,6 +836,8 @@ create or replace function fault_exec_plan(explain_analyze bool default true) re
declare
query text;
begin
+ -- close parallel when fault inject
+ set enable_parallel = off;
perform gp_inject_fault('executor_pre_tuple_processed', 'reset', dbid) from gp_segment_configuration;
perform gp_inject_fault('send_exec_stats', 'reset', dbid) from gp_segment_configuration;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org