Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

Commit

Permalink
tests/londiste/regen.sh: test various combination of options
Browse files Browse the repository at this point in the history
  • Loading branch information
markokr committed Mar 22, 2013
1 parent 7dd0918 commit 5868d74
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions tests/londiste/regen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@ cat > conf/londiste_$db.ini <<EOF
[londiste3]
job_name = londiste_$db
db = dbname=$db
node_name = node1
public_node_location = dbname=$db host=/tmp
initial_provider_location = dbname=db1 host=/tmp
queue_name = replika
logfile = log/%(job_name)s.log
pidfile = pid/%(job_name)s.pid
Expand Down Expand Up @@ -69,9 +73,9 @@ run cat conf/pgqd.ini
run cat conf/londiste_db1.ini

msg "Install londiste3 and initialize nodes"
run londiste3 $v conf/londiste_db1.ini create-root node1
run londiste3 $v conf/londiste_db2.ini create-branch node2 --provider='dbname=db1'
run londiste3 $v conf/londiste_db3.ini create-branch node3 --provider='dbname=db1'
run londiste3 $v conf/londiste_db1.ini create-root
run londiste3 $v conf/londiste_db2.ini create-branch node2 'dbname=db2 host=/tmp'
run londiste3 $v conf/londiste_db3.ini create-branch node3
run londiste3 $v conf/londiste_db4.ini create-branch node4 --provider='dbname=db2' --sync-watermark=node4,node5
run londiste3 $v conf/londiste_db5.ini create-branch node5 --provider='dbname=db3' --sync-watermark=node4,node5

Expand Down

0 comments on commit 5868d74

Please sign in to comment.