Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 72ab6bf

Browse files
committed
allow external connections in reinit-mm.sh
1 parent 3b09aba commit 72ab6bf

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

tests/reinit-mm.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,14 @@ do
7777
multimaster.arbiter_port = $arbiter_port
7878
multimaster.max_recovery_lag = 30GB
7979
multimaster.referee_connstring = 'dbname=$USER host=127.0.0.1 port=5440 sslmode=disable'
80-
#multimaster.preserve_commit_order=false
8180
SQL
82-
cp pg_hba.conf tmp_check/node$i
81+
82+
cat <<CONF >> tmp_check/node$i/pg_hba.conf
83+
host all all 0.0.0.0/0 trust
84+
host replication all 0.0.0.0/0 trust
85+
CONF
86+
87+
# cp pg_hba.conf tmp_check/node$i
8388
pg_ctl -w -D tmp_check/node$i -l node$i.log start
8489
done
8590

0 commit comments

Comments
 (0)