Stop and destroy before terminating lttng-sessiond
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Fri, 15 Dec 2017 23:17:53 +0000 (18:17 -0500)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Fri, 15 Dec 2017 23:17:53 +0000 (18:17 -0500)
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
lttng_ivc/tests/modules_abi_vs_tools/test_modules_abi_vs_tools.py

index f024f3a74c604c292fd4c087adbd7b31942a1049..466f72b94cc03e8d2a094bfe398874aabe644f77 100644 (file)
@@ -275,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":
@@ -285,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.025392 seconds and 5 git commands to generate.