pgpool2.git / summary / log / commit / refs

commit    ff2c41cbd1d64d80a67eec5be97d014b0f6f2500
Author:   Tatsuo Ishii <ishii@postgresql.org>
Date:     Thu Aug 03 03:41:40 2017 +0000

    Fix Java program in 005.regression test.
    
    The program forgot issue commit and always ended up with ABORT.  This
    does not affect the test result itself, it would be better to finish
    the test with commit, rather than ABORT.


src/test/regression/tests/005.jdbc/PrepareThresholdTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/regression/tests/005.jdbc/PrepareThresholdTest.java b/src/test/regression/tests/005.jdbc/PrepareThresholdTest.java index d12ce5c93..43de5556b 100644 --- a/src/test/regression/tests/005.jdbc/PrepareThresholdTest.java +++ b/src/test/regression/tests/005.jdbc/PrepareThresholdTest.java @@ -59,6 +59,7 @@ public class PrepareThresholdTest extends PgpoolTest { } finally { if (rs != null) rs.close(); + connection.commit(); if (pstmt != null) pstmt.close(); } [parent: 2c54c4b6f3fc]