]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests: dmcrypt_journal_collocation should run journal collocation tests
authorAndrew Schoen <aschoen@redhat.com>
Tue, 6 Dec 2016 20:13:50 +0000 (14:13 -0600)
committerAndrew Schoen <aschoen@redhat.com>
Tue, 6 Dec 2016 20:58:07 +0000 (14:58 -0600)
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
tests/conftest.py

index a90b14fcf3433a74c100ea8b262493506459e39b..87f1ac333f6ae7bbd444bdd137254e4f4d75d9b5 100644 (file)
@@ -16,7 +16,8 @@ def node(Ansible, Interface, Command, request):
     if not request.node.get_marker(node_type) and not request.node.get_marker('all'):
         pytest.skip("Not a valid test for node type: %s" % node_type)
 
-    if request.node.get_marker("journal_collocation") and not ansible_vars.get("journal_collocation"):
+    journal_collocation_test = ansible_vars.get("journal_collocation") or ansible_vars.get("dmcrypt_journal_collocation")
+    if request.node.get_marker("journal_collocation") and not journal_collocation_test:
         pytest.skip("Scenario is not using journal collocation")
 
     osd_ids = []