diff options
author | Marko Kreen | 2013-03-21 21:39:04 +0000 |
---|---|---|
committer | Marko Kreen | 2013-03-22 08:48:06 +0000 |
commit | 5868d74d1ba77f9fae4bbbdd668b1e4e4f45f867 (patch) | |
tree | df4c7c541be883c4fb1a2250aa7a965110ddbfe3 | |
parent | 7dd0918d6fbbe96f783b8739fcda4c35308506df (diff) |
tests/londiste/regen.sh: test various combination of options
-rwxr-xr-x | tests/londiste/regen.sh | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/londiste/regen.sh b/tests/londiste/regen.sh index 031d29ad..bcb0dcd9 100755 --- a/tests/londiste/regen.sh +++ b/tests/londiste/regen.sh @@ -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 @@ -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 |