From: Tom Lane Date: Mon, 28 Apr 2008 23:48:16 +0000 (+0000) Subject: Increase the statement_timeout value used in the prepared_xacts regression X-Git-Tag: REL8_4_BETA1~1480 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=98c4ebd38cb7ce22cb50724653bdcdff985b811f;p=postgresql Increase the statement_timeout value used in the prepared_xacts regression test. We have seen some buildfarm failures that seem to be due to this limit being unexpectedly exceeded when the machine is under load. --- diff --git a/src/test/regress/expected/prepared_xacts.out b/src/test/regress/expected/prepared_xacts.out index 514a706ba6..258706da8e 100644 --- a/src/test/regress/expected/prepared_xacts.out +++ b/src/test/regress/expected/prepared_xacts.out @@ -157,7 +157,7 @@ SELECT gid FROM pg_prepared_xacts; (2 rows) -- pxtest3 should be locked because of the pending DROP -set statement_timeout to 1000; +set statement_timeout to 2000; SELECT * FROM pxtest3; ERROR: canceling statement due to statement timeout reset statement_timeout; @@ -172,7 +172,7 @@ SELECT gid FROM pg_prepared_xacts; (2 rows) -- pxtest3 should still be locked because of the pending DROP -set statement_timeout to 1000; +set statement_timeout to 2000; SELECT * FROM pxtest3; ERROR: canceling statement due to statement timeout reset statement_timeout; diff --git a/src/test/regress/sql/prepared_xacts.sql b/src/test/regress/sql/prepared_xacts.sql index 39de88faab..337567271d 100644 --- a/src/test/regress/sql/prepared_xacts.sql +++ b/src/test/regress/sql/prepared_xacts.sql @@ -102,7 +102,7 @@ SELECT * FROM pxtest2; SELECT gid FROM pg_prepared_xacts; -- pxtest3 should be locked because of the pending DROP -set statement_timeout to 1000; +set statement_timeout to 2000; SELECT * FROM pxtest3; reset statement_timeout; @@ -113,7 +113,7 @@ reset statement_timeout; SELECT gid FROM pg_prepared_xacts; -- pxtest3 should still be locked because of the pending DROP -set statement_timeout to 1000; +set statement_timeout to 2000; SELECT * FROM pxtest3; reset statement_timeout;