mirror of
https://github.com/postgres/postgres.git
synced 2025-04-21 12:05:57 +03:00
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:
parent
d7379b7624
commit
98c4ebd38c
@ -157,7 +157,7 @@ SELECT gid FROM pg_prepared_xacts;
|
|||||||
(2 rows)
|
(2 rows)
|
||||||
|
|
||||||
-- pxtest3 should be locked because of the pending DROP
|
-- pxtest3 should be locked because of the pending DROP
|
||||||
set statement_timeout to 1000;
|
set statement_timeout to 2000;
|
||||||
SELECT * FROM pxtest3;
|
SELECT * FROM pxtest3;
|
||||||
ERROR: canceling statement due to statement timeout
|
ERROR: canceling statement due to statement timeout
|
||||||
reset statement_timeout;
|
reset statement_timeout;
|
||||||
@ -172,7 +172,7 @@ SELECT gid FROM pg_prepared_xacts;
|
|||||||
(2 rows)
|
(2 rows)
|
||||||
|
|
||||||
-- pxtest3 should still be locked because of the pending DROP
|
-- pxtest3 should still be locked because of the pending DROP
|
||||||
set statement_timeout to 1000;
|
set statement_timeout to 2000;
|
||||||
SELECT * FROM pxtest3;
|
SELECT * FROM pxtest3;
|
||||||
ERROR: canceling statement due to statement timeout
|
ERROR: canceling statement due to statement timeout
|
||||||
reset statement_timeout;
|
reset statement_timeout;
|
||||||
|
@ -102,7 +102,7 @@ SELECT * FROM pxtest2;
|
|||||||
SELECT gid FROM pg_prepared_xacts;
|
SELECT gid FROM pg_prepared_xacts;
|
||||||
|
|
||||||
-- pxtest3 should be locked because of the pending DROP
|
-- pxtest3 should be locked because of the pending DROP
|
||||||
set statement_timeout to 1000;
|
set statement_timeout to 2000;
|
||||||
SELECT * FROM pxtest3;
|
SELECT * FROM pxtest3;
|
||||||
reset statement_timeout;
|
reset statement_timeout;
|
||||||
|
|
||||||
@ -113,7 +113,7 @@ reset statement_timeout;
|
|||||||
SELECT gid FROM pg_prepared_xacts;
|
SELECT gid FROM pg_prepared_xacts;
|
||||||
|
|
||||||
-- pxtest3 should still be locked because of the pending DROP
|
-- pxtest3 should still be locked because of the pending DROP
|
||||||
set statement_timeout to 1000;
|
set statement_timeout to 2000;
|
||||||
SELECT * FROM pxtest3;
|
SELECT * FROM pxtest3;
|
||||||
reset statement_timeout;
|
reset statement_timeout;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user