Fix occasional failure in regression 065.bug152.
authorTatsuo Ishii <ishii@sraoss.co.jp>
Mon, 8 Oct 2018 22:50:03 +0000 (07:50 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Mon, 8 Oct 2018 22:54:25 +0000 (07:54 +0900)
In the test first create a table with some data, then query
it. However sometimes it seems replication delay causes the table
still not ready in standby. Since there's no reason we need to a
standby or slave for this particular test, let the test have only
primary/master.

src/test/regression/tests/065.bug152/test.sh

index e256bf2870b894d91ac6defd1d814098c041a8e8..1036405bfa098410bf3f7cf8445da2ba9436fc35 100755 (executable)
@@ -16,7 +16,7 @@ do
 
 # create test environment
        echo -n "creating test environment..."
-       $PGPOOL_SETUP -m $mode -n 2 || exit 1
+       $PGPOOL_SETUP -m $mode -n 1 || exit 1
        echo "done."
 
        source ./bashrc.ports