Stop and destroy before terminating lttng-sessiond
[deliverable/lttng-ivc.git] / lttng_ivc / tests / modules_abi_vs_tools / test_modules_abi_vs_tools.py
index a72a0796c416d4106b4d9ee4fd360bd2ec53943c..466f72b94cc03e8d2a094bfe398874aabe644f77 100644 (file)
@@ -266,7 +266,6 @@ def test_modules_regen_metadata(tmpdir, modules_label, tools_label, command, sce
         # the condition are meet
         if scenario == "Unsupported by tools" or scenario == "Unsupported by modules":
             if modules_label == "lttng-modules-2.7":
-                pytest.xfail("failing configuration (but should work)")
                 # Error from lttng-modules-2.7 is not reported correctly by
                 # sessiond. But it is reported on the sessiond side.
                 # For now, run the command, validate that the error exist on
@@ -276,6 +275,8 @@ def test_modules_regen_metadata(tmpdir, modules_label, tools_label, command, sce
                 runtime.run("lttng {}".format(command))
 
             # Make sure everything looks good on this side
+            runtime.run("lttng stop")
+            runtime.run("lttng destroy -a")
             stderr_path = runtime.get_subprocess_stderr_path(sessiond)
             sessiond = runtime.subprocess_terminate(sessiond)
             if scenario == "Unsupported by modules":
@@ -286,7 +287,6 @@ def test_modules_regen_metadata(tmpdir, modules_label, tools_label, command, sce
 
             return
 
-        runtime.run("lttng {}".format(command))
         runtime.run("lttng stop")
         runtime.run("lttng destroy -a")
 
This page took 0.026978 seconds and 5 git commands to generate.