Skip to content

Commit 46af0ab

Browse files
committed
Add tests from the modules directory
Rewrite the test_bloomfilter function call to make the test_bloomfilter test passed
1 parent 1c9faef commit 46af0ab

File tree

3 files changed

+7
-10
lines changed

3 files changed

+7
-10
lines changed

.github/workflows/build-gpdb.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,9 @@ jobs:
168168
},
169169
{"test":"ic-mirrorless",
170170
"make_configs":["src/test/isolation2:installcheck-mirrorless"]
171+
},
172+
{"test":"ic-modules",
173+
"make_configs":["src/test/modules:installcheck"]
171174
}
172175
]
173176
}'
@@ -299,7 +302,7 @@ jobs:
299302
uses: actions/checkout@v4
300303
with:
301304
repository: open-gpdb/gpdb-devops
302-
ref: main
305+
ref: add_modules
303306
path: gpdb-devops
304307
fetch-depth: 1
305308

@@ -742,7 +745,7 @@ jobs:
742745
uses: actions/checkout@v4
743746
with:
744747
repository: open-gpdb/gpdb-devops
745-
ref: main
748+
ref: add_modules
746749
path: gpdb-devops
747750
fetch-depth: 1
748751

src/test/modules/test_bloomfilter/expected/test_bloomfilter.out

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
CREATE EXTENSION test_bloomfilter;
22
-- See README for explanation of arguments:
3-
SELECT test_bloomfilter(power => 23,
4-
nelements => 838861,
5-
seed => -1,
6-
tests => 1);
3+
SELECT test_bloomfilter(23, 838861);
74
test_bloomfilter
85
------------------
96

src/test/modules/test_bloomfilter/sql/test_bloomfilter.sql

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
CREATE EXTENSION test_bloomfilter;
22

33
-- See README for explanation of arguments:
4-
SELECT test_bloomfilter(power => 23,
5-
nelements => 838861,
6-
seed => -1,
7-
tests => 1);
4+
SELECT test_bloomfilter(23, 838861);
85

96
-- Equivalent "10 bits per element" tests for all possible bitset sizes:
107
--

0 commit comments

Comments
 (0)