Thread: pgsql: Increase timeout in statement_timeout test from 1 second to 2

pgsql: Increase timeout in statement_timeout test from 1 second to 2

From
tgl@postgresql.org (Tom Lane)
Date:
Log Message:
-----------
Increase timeout in statement_timeout test from 1 second to 2 seconds.
We have once or twice seen failures suggesting that control didn't get
to the exception block before the timeout elapsed, which is unlikely
but not impossible in a parallel regression test (with a dozen other
backends competing for cycles).  This change doesn't completely prevent
the problem of course, but it should reduce the probability enough that
we don't see it anymore.  Per buildfarm results.

Tags:
----
REL8_0_STABLE

Modified Files:
--------------
    pgsql/src/test/regress/expected:
        plpgsql.out (r1.24 -> r1.24.4.1)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/plpgsql.out.diff?r1=1.24&r2=1.24.4.1)
    pgsql/src/test/regress/sql:
        plpgsql.sql (r1.19 -> r1.19.4.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/sql/plpgsql.sql.diff?r1=1.19&r2=1.19.4.1)