[pgpool-committers: 4567] pgpool: Enhance extended query test.

Tatsuo Ishii ishii at postgresql.org
Mon Feb 19 14:47:33 JST 2018


Enhance extended query test.

Add extra_scripts directory to include extra scripts to be executed
after main test script (tests) run.  Currently only scripts for
parse-before-bind.data parse-before-bind-2.data exist so that the test
confirm the load balancing behavior.

Also some tests are fixed so that they can run individually in that a
table for testing is dropped at the end of the test and test results
are not affected by the existence of the table.

Branch
------
V3_7_STABLE

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=a3e2c682260cab8f8862cee182ea6555b267b64d

Modified Files
--------------
src/test/extended-query-test/README                | 28 ++++++++++++++++------
.../expected/parse-before-bind-2.data              |  5 +++-
.../expected/parse-before-bind.data                |  4 ++++
.../expected/query-cache-notrans.data              |  4 ++++
.../extended-query-test/expected/query-cache.data  |  4 ++++
.../extra_scripts/parse-before-bind-2.data         | 20 ++++++++++++++++
.../extra_scripts/parse-before-bind.data           | 20 ++++++++++++++++
src/test/extended-query-test/test.sh               | 23 ++++++++++++++++--
.../tests/parse-before-bind-2.data                 | 10 +++++++-
.../tests/parse-before-bind.data                   |  5 ++++
.../tests/query-cache-notrans.data                 |  5 ++++
.../extended-query-test/tests/query-cache.data     |  5 ++++
12 files changed, 122 insertions(+), 11 deletions(-)



More information about the pgpool-committers mailing list