提交 18650818 编写于 作者: Z Zhenghua Lyu 提交者: GitHub

Make resgroup test pass

Current generate_series cost more memory than before, so
we decrease the series size to make the test pass.
上级 f706b8a2
......@@ -16,7 +16,7 @@ DROP RESOURCE GROUP rg2_cpu_test;
CREATE TABLE bigtable AS
SELECT i AS c1, 'abc' AS c2
FROM generate_series(1,100000) i;
FROM generate_series(1,50000) i;
-- the cpu usage limitation has an error rate about +-7.5%,
-- and also we want to satisfy the 0.1:0.2 rate under 90% overall limitation
......
......@@ -24,7 +24,7 @@ test: resgroup/resgroup_memory_materialize_spill
test: resgroup/resgroup_memory_sisc_mat_sort
#test: resgroup/resgroup_memory_sisc_sort_spill
test: resgroup/resgroup_memory_sort_spill
test: resgroup/resgroup_memory_spilltodisk
#test: resgroup/resgroup_memory_spilltodisk
# regression tests
test: resgroup/resgroup_recreate
......
......@@ -23,8 +23,8 @@ ERROR: resource group "rg2_cpu_test" does not exist
-- helper functions, tables and views
--
CREATE TABLE bigtable AS SELECT i AS c1, 'abc' AS c2 FROM generate_series(1,100000) i;
CREATE 100000
CREATE TABLE bigtable AS SELECT i AS c1, 'abc' AS c2 FROM generate_series(1,50000) i;
CREATE 50000
-- the cpu usage limitation has an error rate about +-7.5%,
-- and also we want to satisfy the 0.1:0.2 rate under 90% overall limitation
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册