Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
fix tests
  • Loading branch information
robertkowalski committed Apr 5, 2015
1 parent 127e85a commit 372dd8be046ee999f6d318ff7016621c6e355a60
Showing 1 changed file with 2 additions and 2 deletions.
@@ -13,7 +13,7 @@

HEADERS="-HContent-Type:application/json"
# show cluster state:
curl a:b@127.0.0.1:15986/nodes/_all_docs
curl a:b@127.0.0.1:15986/_nodes/_all_docs

# Enable Cluster on node A
curl a:b@127.0.0.1:15984/_cluster_setup -d '{"action":"enable_cluster","username":"foo","password":"baz","bind_address":"0.0.0.0"}' $HEADERS
@@ -25,7 +25,7 @@ curl a:b@127.0.0.1:25984/_cluster_setup -d '{"action":"enable_cluster","username
curl a:b@127.0.0.1:15984/_cluster_setup -d '{"action":"add_node","username":"foo","password":"baz","host":"127.0.0.1","port":25984}' $HEADERS

# Show cluster state:
curl a:b@127.0.0.1:15986/nodes/_all_docs
curl a:b@127.0.0.1:15986/_nodes/_all_docs

# Show db doesn’t exist on node A
curl a:b@127.0.0.1:15984/foo

0 comments on commit 372dd8b

Please sign in to comment.