Skip to content

Commit b6db26b

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 b6db26b

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

.github/workflows/build-gpdb.yml

Lines changed: 3 additions & 0 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
}'

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)