Always issues lttng stop before destroy
[deliverable/lttng-ivc.git] / lttng_ivc / tests / ust_app_vs_ust_tools / test_ust_app_vs_ust_tools.py
index 65564ea25249dc92d35ed6f923b210a2c1a6119c..c67c46231c59309e8c460e5907028d57ef7256de 100644 (file)
@@ -165,6 +165,7 @@ def test_ust_app_tracing_available(tmpdir, ust_label, tools_label, outcome):
         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:
@@ -240,6 +241,7 @@ def test_ust_app_regen_statedump(tmpdir, ust_label, tools_label, success):
         utils.create_empty_file(app_sync_end)
 
         # Stop tracing
+        runtime_tools.run('lttng stop')
         runtime_tools.run('lttng destroy -a')
         cp = runtime_tools.subprocess_terminate(sessiond)
         if cp.returncode != 0:
@@ -308,6 +310,7 @@ def test_ust_app_starglobing_enabler(tmpdir, ust_label, tools_label, scenario):
         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:
This page took 0.022892 seconds and 5 git commands to generate.