[pgpool-hackers: 2730] Re: [pgpool-committers: 4568] pgpool: Enhance extended query test.

Tatsuo Ishii ishii at sraoss.co.jp
Mon Feb 19 14:57:57 JST 2018


Hello Pgpool-II developers,

I have updated src/test/extended-query-test staffs. Now they can
execute additional tests in addition to normal pgproto run
test. Currently parse-before-bind.data and parse-before-bind-2.data
have such tests mainly for checking load balancing behavior.

Also I allow to use use temporarily installation of Pgpool-II just like
regression test.

These changes are back-patched to the 3.7 stable branch because
extended-query-test was introduced since 3.7.

Best regards,
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp

From: Tatsuo Ishii <ishii at postgresql.org>
Subject: [pgpool-committers: 4568] pgpool: Enhance extended query test.
Date: Mon, 19 Feb 2018 05:47:33 +0000
Message-ID: <E1eneIX-0003qF-IA at gothos.postgresql.org>

> 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
> ------
> master
> 
> Details
> -------
> https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=6701211b8ae556a568de79a1b4b7fe2cfbd19d31
> 
> 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-hackers mailing list