summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/test/connect/test5.pgc
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2020-08-04 15:20:31 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2020-08-04 15:20:31 -0400
commit0f76294260b92849c4958fb706ecd5b5cd73e40e (patch)
tree8ea9647ff8c5204a0e5d490e0a7c9617fa4d1574 /src/interfaces/ecpg/test/connect/test5.pgc
parentdd877998d498c511352bd3640fd57f041c90ea62 (diff)
Increase hard-wired timeout values in ecpg regression tests.
A couple of test cases had connect_timeout=14, a value that seems to have been plucked from a hat. While it's more than sufficient for normal cases, slow/overloaded buildfarm machines can get a timeout failure here, as per recent report from "sungazer". Increase to 180 seconds, which is in line with our typical timeouts elsewhere in the regression tests. Back-patch to 9.6; the code looks different in 9.5, and this doesn't seem to be quite worth the effort to adapt to that. Report: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=sungazer&dt=2020-08-04%2007%3A12%3A22
Diffstat (limited to 'src/interfaces/ecpg/test/connect/test5.pgc')
-rw-r--r--src/interfaces/ecpg/test/connect/test5.pgc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/test/connect/test5.pgc b/src/interfaces/ecpg/test/connect/test5.pgc
index 2e34ab84fc6..e712fa87783 100644
--- a/src/interfaces/ecpg/test/connect/test5.pgc
+++ b/src/interfaces/ecpg/test/connect/test5.pgc
@@ -55,7 +55,7 @@ exec sql end declare section;
exec sql connect to 'unix:postgresql://localhost/ecpg2_regression' as main user :user USING "connectpw";
exec sql disconnect main;
- exec sql connect to unix:postgresql://localhost/ecpg2_regression?connect_timeout=14&client_encoding=latin1 as main user regress_ecpg_user1/connectpw;
+ exec sql connect to unix:postgresql://localhost/ecpg2_regression?connect_timeout=180&client_encoding=latin1 as main user regress_ecpg_user1/connectpw;
exec sql disconnect main;
exec sql connect to "unix:postgresql://200.46.204.71/ecpg2_regression" as main user regress_ecpg_user1/connectpw;