]> git-server-git.apps.pok.os.sepia.ceph.com Git - cephmetrics.git/commit
ceph-graphite: Fix test_metrics_present
authorZack Cerza <zack@redhat.com>
Thu, 29 Mar 2018 00:12:42 +0000 (18:12 -0600)
committerZack Cerza <zack@redhat.com>
Tue, 17 Apr 2018 19:21:55 +0000 (13:21 -0600)
commit930f1a78baa8a3e4796a6d0afc2a4db01eccd76f
tree7cd6be0c222d9142d8a44fa831c1b261acabf565
parentfe42c35544ee97fc12b3c81e5dff773ad8a42836
ceph-graphite: Fix test_metrics_present

If a cluster changes over time, the test broke. When looking at stored
metrics, assert that our inventory hosts are a subset of the stored
metrics as opposed to doing an equality check.

Signed-off-by: Zack Cerza <zack@redhat.com>
ansible/roles/ceph-graphite/tests/test_graphite.py