commit | e45ab3895835da698654a892e92344ce1bb5aeac | [log] [tgz] |
---|---|---|
author | Tomáš Kukrál <tkukral@mirantis.com> | Mon Aug 21 23:32:09 2017 +0200 |
committer | Tomáš Kukrál <tkukral@mirantis.com> | Mon Aug 21 23:32:09 2017 +0200 |
tree | 917b5d6bb975d007c211fa85983e8a02d71d44bb | |
parent | 5f566d6eeb751d58d9a2e87bcf68bbeab31f115d [diff] |
add test health Change-Id: I0bb15b5f9c2314ec5f20daeaaba274d38e77a67d
diff --git a/ceph/files/testinfra/test_health.py b/ceph/files/testinfra/test_health.py index 0ef8b5a..0e8c92f 100644 --- a/ceph/files/testinfra/test_health.py +++ b/ceph/files/testinfra/test_health.py
@@ -16,3 +16,8 @@ print(cmd.stdout) assert cmd.rc == 0 +def test_health_ok(host): + cmd = host.run('ceph health') + + print(cmd.stdout) + assert 'HEALTH_OK' in cmd.stdout