You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hawq.apache.org by yj...@apache.org on 2015/11/02 06:55:15 UTC

incubator-hawq git commit: HAWQ-116. Default active_statements setting blocks the goh_portals test

Repository: incubator-hawq
Updated Branches:
  refs/heads/master 9303e67d6 -> 6d743f10a


HAWQ-116. Default active_statements setting blocks the goh_portals test


Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/6d743f10
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/6d743f10
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/6d743f10

Branch: refs/heads/master
Commit: 6d743f10a3c03efcaa0869c2ff13a8295e56d080
Parents: 9303e67
Author: Yi Jin <yj...@pivotal.io>
Authored: Mon Nov 2 13:54:15 2015 +0800
Committer: Yi Jin <yj...@pivotal.io>
Committed: Mon Nov 2 13:54:15 2015 +0800

----------------------------------------------------------------------
 src/test/regress/expected/goh_portals.out | 2 ++
 src/test/regress/sql/goh_portals.sql      | 4 ++++
 2 files changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/6d743f10/src/test/regress/expected/goh_portals.out
----------------------------------------------------------------------
diff --git a/src/test/regress/expected/goh_portals.out b/src/test/regress/expected/goh_portals.out
index d5d46f9..cc64a9e 100755
--- a/src/test/regress/expected/goh_portals.out
+++ b/src/test/regress/expected/goh_portals.out
@@ -2,6 +2,7 @@
 -- Cursor regression tests
 --
 -- setup
+ALTER RESOURCE QUEUE pg_default WITH (active_statements=30);
 CREATE TABLE test1 (a int, b int, c int, d int);
 CREATE TABLE test2 (a int, b int, c int, d int);
 INSERT INTO test1 SELECT x, 2 * x, 3 * x, 4 * x FROM generate_series(1, 1000) x;
@@ -537,3 +538,4 @@ ROLLBACK;
 -- teardown
 DROP TABLE test1;
 DROP TABLE test2;
+ALTER RESOURCE QUEUE pg_default WITH (active_statements=20);

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/6d743f10/src/test/regress/sql/goh_portals.sql
----------------------------------------------------------------------
diff --git a/src/test/regress/sql/goh_portals.sql b/src/test/regress/sql/goh_portals.sql
index a8efc08..f509a54 100644
--- a/src/test/regress/sql/goh_portals.sql
+++ b/src/test/regress/sql/goh_portals.sql
@@ -2,6 +2,8 @@
 -- Cursor regression tests
 --
 -- setup
+ALTER RESOURCE QUEUE pg_default WITH (active_statements=30);
+
 CREATE TABLE test1 (a int, b int, c int, d int);
 CREATE TABLE test2 (a int, b int, c int, d int);
 INSERT INTO test1 SELECT x, 2 * x, 3 * x, 4 * x FROM generate_series(1, 1000) x;
@@ -200,3 +202,5 @@ ROLLBACK;
 -- teardown
 DROP TABLE test1;
 DROP TABLE test2;
+
+ALTER RESOURCE QUEUE pg_default WITH (active_statements=20);