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 a7cf6d679f91dc70ce0cb119a08225f1277becdc
Author: Chris Hajas <[email protected]>
AuthorDate: Wed Feb 8 11:43:18 2023 -0800

    Fix flaky bfv_partition_plans test
    
    Strip out segment number when comparing ICW diff
---
 src/test/regress/expected/bfv_partition_plans.out           | 2 ++
 src/test/regress/expected/bfv_partition_plans_optimizer.out | 2 ++
 src/test/regress/sql/bfv_partition_plans.sql                | 2 ++
 3 files changed, 6 insertions(+)

diff --git a/src/test/regress/expected/bfv_partition_plans.out 
b/src/test/regress/expected/bfv_partition_plans.out
index f5ac4f3c5b..129aad449c 100644
--- a/src/test/regress/expected/bfv_partition_plans.out
+++ b/src/test/regress/expected/bfv_partition_plans.out
@@ -11,6 +11,8 @@
 -- s/Buckets: \d+/Buckets: ###/
 -- m/Batches: \d+/
 -- s/Batches: \d+/Batches: ###/
+-- m/segment \d+/
+-- s/segment \d+/segment ###/
 -- m/using \d+ of \d+ buckets/
 -- s/using \d+ of \d+ buckets/using ## of ### buckets/
 -- end_matchsubs
diff --git a/src/test/regress/expected/bfv_partition_plans_optimizer.out 
b/src/test/regress/expected/bfv_partition_plans_optimizer.out
index 9d5be75da2..cbefbf8759 100644
--- a/src/test/regress/expected/bfv_partition_plans_optimizer.out
+++ b/src/test/regress/expected/bfv_partition_plans_optimizer.out
@@ -11,6 +11,8 @@
 -- s/Buckets: \d+/Buckets: ###/
 -- m/Batches: \d+/
 -- s/Batches: \d+/Batches: ###/
+-- m/segment \d+/
+-- s/segment \d+/segment ###/
 -- m/using \d+ of \d+ buckets/
 -- s/using \d+ of \d+ buckets/using ## of ### buckets/
 -- end_matchsubs
diff --git a/src/test/regress/sql/bfv_partition_plans.sql 
b/src/test/regress/sql/bfv_partition_plans.sql
index 12538a3f3f..b640e3e1f7 100644
--- a/src/test/regress/sql/bfv_partition_plans.sql
+++ b/src/test/regress/sql/bfv_partition_plans.sql
@@ -11,6 +11,8 @@
 -- s/Buckets: \d+/Buckets: ###/
 -- m/Batches: \d+/
 -- s/Batches: \d+/Batches: ###/
+-- m/segment \d+/
+-- s/segment \d+/segment ###/
 -- m/using \d+ of \d+ buckets/
 -- s/using \d+ of \d+ buckets/using ## of ### buckets/
 -- end_matchsubs


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to