You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudberry.apache.org by re...@apache.org on 2025/01/10 21:44:36 UTC
(cloudberry) 02/05: brin: Disable workitems test
This is an automated email from the ASF dual-hosted git repository.
reshke pushed a commit to branch brin2
in repository https://gitbox.apache.org/repos/asf/cloudberry.git
commit 0ec35f7ddce11f507f87120f810e5f6e8d6e6dd0
Author: Soumyadeep Chakraborty <so...@gmail.com>
AuthorDate: Fri May 12 09:26:25 2023 -0700
brin: Disable workitems test
We don't have autovacuum on user tables enabled yet to test this. So
disable it for now.
---
src/test/modules/brin/t/01_workitems.pl | 28 +++++++++++++++-------------
1 file changed, 15 insertions(+), 13 deletions(-)
diff --git a/src/test/modules/brin/t/01_workitems.pl b/src/test/modules/brin/t/01_workitems.pl
index a4f603a9d5..94f5071613 100644
--- a/src/test/modules/brin/t/01_workitems.pl
+++ b/src/test/modules/brin/t/01_workitems.pl
@@ -7,7 +7,8 @@ use strict;
use warnings;
use TestLib;
-use Test::More tests => 2;
+use Test::More tests => 1;
+# use Test::More tests => 2;
use PostgresNode;
my $node = get_new_node('tango');
@@ -29,16 +30,17 @@ my $count = $node->safe_psql('postgres',
);
is($count, '1', "initial index state is correct");
-$node->safe_psql('postgres',
- 'insert into brin_wi select * from generate_series(1, 100)');
-
-$node->poll_query_until(
- 'postgres',
- "select count(*) > 1 from brin_page_items(get_raw_page('brin_wi_idx', 2), 'brin_wi_idx'::regclass)",
- 't');
-
-$count = $node->safe_psql('postgres',
- "select count(*) > 1 from brin_page_items(get_raw_page('brin_wi_idx', 2), 'brin_wi_idx'::regclass)"
-);
-is($count, 't', "index got summarized");
+# GPDB: Disabled until autovacuum on user tables can be enabled.
+# $node->safe_psql('postgres',
+# 'insert into brin_wi select * from generate_series(1, 100)');
+#
+# $node->poll_query_until(
+# 'postgres',
+# "select count(*) > 1 from brin_page_items(get_raw_page('brin_wi_idx', 2), 'brin_wi_idx'::regclass)",
+# 't');
+#
+# $count = $node->safe_psql('postgres',
+# "select count(*) > 1 from brin_page_items(get_raw_page('brin_wi_idx', 2), 'brin_wi_idx'::regclass)"
+# );
+# is($count, 't', "index got summarized");
$node->stop;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org