tests: skip tests for nfs nodes when release is jewel

nfs nodes are not deployed on jewel so we should skip the tests on them.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
pull/2006/head
Guillaume Abrioux 2017-10-06 12:49:39 +02:00
parent d363b0f741
commit 680ec8758e
1 changed files with 3 additions and 0 deletions

View File

@ -39,6 +39,9 @@ def node(host, request):
if node_type == "mgrs" and ceph_stable_release == "jewel":
pytest.skip("mgr nodes can not be tested with ceph release jewel")
if node_type == "nfss" and ceph_stable_release == "jewel":
pytest.skip("nfs nodes can not be tested with ceph release jewel")
journal_collocation_test = ansible_vars.get("osd_scenario") == "collocated"
if request.node.get_marker("journal_collocation") and not journal_collocation_test:
pytest.skip("Scenario is not using journal collocation")