From 8d31aad1a0d4a10813dda32c006e5df887bf25d3 Mon Sep 17 00:00:00 2001 From: Walter Huf Date: Thu, 8 May 2014 16:07:17 -0500 Subject: [PATCH] Tests cephfs and radosgw --- recipes/all_in_one.rb | 4 +++- test/integration/aio/bats/ceph-running.bats | 12 ++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) 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+' +} -- 2.47.3