pgpool2.git / summary / log / commit / refs
commit 4a1f269a74ca6725790c780211bdcb8e1acc7bc3
Author: Tatsuo Ishii <ishii@postgresql.org>
Date: Fri Sep 01 04:54:33 2017 +0000
Fix load balance test driver.
Some tests only for native replication mode was executed in streaming
replication mode as well.
src/test/regression/tests/001.load_balance/test.sh | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/test/regression/tests/001.load_balance/test.sh b/src/test/regression/tests/001.load_balance/test.sh
index 89df6a4b5..2575d6bc4 100755
--- a/src/test/regression/tests/001.load_balance/test.sh
+++ b/src/test/regression/tests/001.load_balance/test.sh
@@ -123,14 +123,13 @@ EOF
# the SELECT should be executed on node 0
fi
+ if [ $ok != 2 ];then
+ exit 1;
+ fi
fi
./shutdownall
- if [ $ok != 2 ];then
- exit 1;
- fi
-
cd ..
done
[parent: 6e71926d8bd0]