Fix failure of statement_level_load_balance extra test.
authorTatsuo Ishii <ishii@sraoss.co.jp>
Fri, 6 Sep 2019 07:02:40 +0000 (16:02 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Fri, 6 Sep 2019 07:02:40 +0000 (16:02 +0900)
Now pgpool issues SELECT version() internaly, the count of SELECT
queries needed to be adjusted.

src/test/extended-query-test/extra_scripts/statement_level_load_balance.data

index 86d9503bac8264d732fd561e215273f56ba0a564..2aa9e1890d330664658ec4cc03845cae26ce709d 100755 (executable)
@@ -32,7 +32,7 @@ fi
 
 # select load balance node per query
 n=`grep "selecting load balance node" $PGPOOLLOG | wc -l`
-if [ $n != 3 ]; then
+if [ $n != 5 ]; then
        exit 1
 fi