Always issues lttng stop before destroy
[deliverable/lttng-ivc.git] / lttng_ivc / tests / ust_python_agent_vs_tools / test_ust_python_agent_vs_tools.py
index a39c00953a39ed46eca5ab62415eca6585321de7..0c0eafb9432ccb12421633c19ff6c8719a150c65 100644 (file)
@@ -132,6 +132,7 @@ def test_ust_python_agent_tracing_available(tmpdir, ust_label, tools_label, shou
         runtime_app.run(cmd, cwd=app_path)
 
         # Stop tracing
+        runtime_tools.run('lttng stop')
         runtime_tools.run('lttng destroy -a')
         cp = runtime_tools.subprocess_terminate(sessiond)
         if cp.returncode != 0:
@@ -195,6 +196,7 @@ def test_ust_python_agent_interface(tmpdir, ust_label, tools_label, outcome):
         runtime_tools.run(cmd, cwd=app_path)
 
         # Stop tracing
+        runtime_tools.run('lttng stop')
         runtime_tools.run('lttng destroy -a')
         cp = runtime_tools.subprocess_terminate(sessiond)
         if cp.returncode != 0:
This page took 0.023388 seconds and 5 git commands to generate.