summaryrefslogtreecommitdiff
path: root/tests/white-box/couchdb.rb
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2014-06-25 23:54:16 -0700
committerelijah <elijah@riseup.net>2014-06-25 23:54:16 -0700
commit8d5c14b26b6f95285d9ed2b17c61d18d5de005e6 (patch)
tree3c80521475a87295995e1fad067dc9ff94a892c6 /tests/white-box/couchdb.rb
parentd6eabb09f978f1501b8b797d28e949a2e00ac82e (diff)
fix tests for new 0.6 format
Diffstat (limited to 'tests/white-box/couchdb.rb')
-rw-r--r--tests/white-box/couchdb.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/white-box/couchdb.rb b/tests/white-box/couchdb.rb
index 58a24731..74bd47bf 100644
--- a/tests/white-box/couchdb.rb
+++ b/tests/white-box/couchdb.rb
@@ -31,7 +31,7 @@ class CouchDB < LeapTest
# compare the configured nodes to the nodes that are actually listed in bigcouch
#
def test_02_Is_cluster_membership_ok?
- skip "not a multimaster node" unless multimater?
+ return unless multimaster?
url = couchdb_backend_url("/nodes/_all_docs")
neighbors = assert_property('couch.bigcouch.neighbors')
neighbors << assert_property('domain.full')
@@ -51,7 +51,7 @@ class CouchDB < LeapTest
# this seems backward to me, so it might be the other way around.
#
def test_03_Are_configured_nodes_online?
- skip "not a multimaster node" unless multimater?
+ return unless multimaster?
url = couchdb_url("/_membership", :user => 'admin')
assert_get(url) do |body|
response = JSON.parse(body)