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.
This commit is contained in:
Tom Lane 2008-04-28 23:48:16 +00:00
parent d7379b7624
commit 98c4ebd38c
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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;