Skip to content

Commit 98c4ebd

Browse files
committed
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.
1 parent d7379b7 commit 98c4ebd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/test/regress/expected/prepared_xacts.out

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ SELECT gid FROM pg_prepared_xacts;
157157
(2 rows)
158158

159159
-- pxtest3 should be locked because of the pending DROP
160-
set statement_timeout to 1000;
160+
set statement_timeout to 2000;
161161
SELECT * FROM pxtest3;
162162
ERROR: canceling statement due to statement timeout
163163
reset statement_timeout;
@@ -172,7 +172,7 @@ SELECT gid FROM pg_prepared_xacts;
172172
(2 rows)
173173

174174
-- pxtest3 should still be locked because of the pending DROP
175-
set statement_timeout to 1000;
175+
set statement_timeout to 2000;
176176
SELECT * FROM pxtest3;
177177
ERROR: canceling statement due to statement timeout
178178
reset statement_timeout;

src/test/regress/sql/prepared_xacts.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ SELECT * FROM pxtest2;
102102
SELECT gid FROM pg_prepared_xacts;
103103

104104
-- pxtest3 should be locked because of the pending DROP
105-
set statement_timeout to 1000;
105+
set statement_timeout to 2000;
106106
SELECT * FROM pxtest3;
107107
reset statement_timeout;
108108

@@ -113,7 +113,7 @@ reset statement_timeout;
113113
SELECT gid FROM pg_prepared_xacts;
114114

115115
-- pxtest3 should still be locked because of the pending DROP
116-
set statement_timeout to 1000;
116+
set statement_timeout to 2000;
117117
SELECT * FROM pxtest3;
118118
reset statement_timeout;
119119

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy