summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2014-02-04 09:43:24 +0100
committerAzul <azul@riseup.net>2014-02-04 11:46:57 +0100
commit5d3cf83abf9123af67b3965dea7ad12022d66c3f (patch)
treeb91ea24a277f9f33b756ec32e608fab845f61b80
parentee4f24abf2a7848a015cfb02bfbdebf7b0874d8e (diff)
unify naming scheme - tapicero_test prefix
-rw-r--r--.travis.yml8
-rw-r--r--test/config.yaml6
-rw-r--r--test/setup_couch.sh4
3 files changed, 9 insertions, 9 deletions
diff --git a/.travis.yml b/.travis.yml
index 163f92b..3fd27a7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,10 +6,10 @@ notifications:
email: false
before_script:
- "/bin/bash test/setup_couch.sh"
- - "touch /tmp/test-tapicero.log"
+ - "touch /tmp/tapicero_test.log"
- "bundle exec bin/tapicero start test/config.yaml"
- "bundle exec bin/tapicero status"
- - "cat /tmp/test-tapicero.log"
+ - "cat /tmp/tapicero_test.log"
after_script:
- - "cat /tmp/test-tapicero.log"
- - "cat /tmp/test-tapicero.seq"
+ - "cat /tmp/tapicero_test.log"
+ - "cat /tmp/tapicero_test.seq"
diff --git a/test/config.yaml b/test/config.yaml
index 599df4a..e59b4de 100644
--- a/test/config.yaml
+++ b/test/config.yaml
@@ -9,11 +9,11 @@ connection:
port: 5984
username: anna
password: secret
- prefix: "tapicero-test"
+ prefix: "tapicero_test"
suffix: ""
# file to store the last processed user record in so we can resume after
# a restart:
-seq_file: "/tmp/test-tapicero.seq"
-log_file: "/tmp/test-tapicero.log"
+seq_file: "/tmp/tapicero_test.seq"
+log_file: "/tmp/tapicero_test.log"
log_level: debug
diff --git a/test/setup_couch.sh b/test/setup_couch.sh
index ae28758..c11993d 100644
--- a/test/setup_couch.sh
+++ b/test/setup_couch.sh
@@ -6,8 +6,8 @@ curl -X GET $HOST
echo "creating unprivileged user :"
curl -HContent-Type:application/json -XPUT $HOST/_users/org.couchdb.user:me --data-binary '{"_id": "org.couchdb.user:me","name": "me","roles": [],"type": "user","password": "pwd"}'
echo "creating database to watch:"
-curl -X PUT $HOST/tapicero-test-users
+curl -X PUT $HOST/tapicero_test_users
echo "restricting database access :"
-curl -X PUT $HOST/tapicero-test-users/_security -Hcontent-type:application/json --data-binary '{"admins":{"names":[],"roles":[]},"members":{"names":["me"],"roles":[]}}'
+curl -X PUT $HOST/tapicero_test_users/_security -Hcontent-type:application/json --data-binary '{"admins":{"names":[],"roles":[]},"members":{"names":["me"],"roles":[]}}'
echo "adding admin :"
curl -X PUT $HOST/_config/admins/anna -d '"secret"'