From: Walter Huf Date: Thu, 8 May 2014 21:07:17 +0000 (-0500) Subject: Tests cephfs and radosgw X-Git-Tag: v0.8.0~36^2~2^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8d31aad1a0d4a10813dda32c006e5df887bf25d3;p=ceph-cookbooks.git Tests cephfs and radosgw --- diff --git a/recipes/all_in_one.rb b/recipes/all_in_one.rb index cfd6568..794f377 100644 --- a/recipes/all_in_one.rb +++ b/recipes/all_in_one.rb @@ -1,4 +1,6 @@ include_recipe 'ceph::mon' include_recipe 'ceph::osd' -# include_recipe 'ceph::radosgw' +include_recipe 'ceph::mds' +include_recipe 'ceph::cephfs' +include_recipe 'ceph::radosgw' diff --git a/test/integration/aio/bats/ceph-running.bats b/test/integration/aio/bats/ceph-running.bats index 388fb6a..578d7e4 100644 --- a/test/integration/aio/bats/ceph-running.bats +++ b/test/integration/aio/bats/ceph-running.bats @@ -5,3 +5,15 @@ @test "ceph is healthy" { ceph -s | grep HEALTH_OK } + +@test "cephfs is mounted" { + mount | grep 'type ceph' +} + +@test "radosgw is running" { + ps auxwww | grep radosg[w] +} + +@test "apache is running and listening" { + netstat -ln | grep -E '^\S+\s+\S+\s+\S+\s+\S+:80\s+' +}