Always issues lttng stop before destroy
[deliverable/lttng-ivc.git] / lttng_ivc / tests / babeltrace / base / test_babeltrace_base.py
index 8cc0031c315e634bb49d2d86efc3952734dbc6d7..f9534d51110f425565dc0cd21b27c4ca5aa4320d 100644 (file)
@@ -147,6 +147,7 @@ def test_babeltrace_base_ust(tmpdir, babeltrace_l, tools_l):
         runtime.run(cmd, cwd=app_path)
 
         # Stop tracing
+        runtime.run('lttng stop')
         runtime.run('lttng destroy -a')
         cp = runtime.subprocess_terminate(sessiond)
         if cp.returncode != 0:
@@ -274,6 +275,7 @@ def test_babeltrace_same_trace_ust(tmpdir, babeltrace_list, tools_l):
         runtime.run(cmd, cwd=app_path)
 
         # Stop tracing
+        runtime.run('lttng stop')
         runtime.run('lttng destroy -a')
         cp = runtime.subprocess_terminate(sessiond)
         if cp.returncode != 0:
This page took 0.023686 seconds and 5 git commands to generate.