summaryrefslogtreecommitdiff
path: root/tests/white-box/couchdb.rb
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-12-30 18:04:30 -0800
committerelijah <elijah@riseup.net>2013-12-30 18:04:30 -0800
commit353475da8d535f2904e68977c3dafa6bb3bb483a (patch)
treebeb01b13f2f2b2e2040e0ece1bf1db13523b6e4f /tests/white-box/couchdb.rb
parent71f2d1b0b7db6bb35dd6bd9220795aed3174d90b (diff)
tests -- added tests to check that the right processes are running
Diffstat (limited to 'tests/white-box/couchdb.rb')
-rw-r--r--tests/white-box/couchdb.rb9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/white-box/couchdb.rb b/tests/white-box/couchdb.rb
index c83e5714..93551367 100644
--- a/tests/white-box/couchdb.rb
+++ b/tests/white-box/couchdb.rb
@@ -8,10 +8,17 @@ class TestCouchdb < LeapTest
def setup
end
+ def test_00_daemons_running
+ assert_running 'tapicero'
+ assert_running 'bin/beam'
+ assert_running 'bin/epmd'
+ pass
+ end
+
#
# check to make sure we can get welcome response from local couchdb
#
- def test_01_couch_is_running
+ def test_01_couch_is_working
assert_get(couchdb_url) do |body|
assert_match /"couchdb":"Welcome"/, body, "Could not get welcome message from #{couchdb_url}. Probably couchdb is not running."
end