Always issues lttng stop before destroy
[deliverable/lttng-ivc.git] / lttng_ivc / tests / ust_tracepoint_ABI-API_vs_ust / test_ust_tracepoint_ABI_API_vs_ust.py
index 237d9893567958f9fcd8fc74d80a56deaa622fdf..cc44e45eba4d19f706a1b19e1089dc7a2729cfbf 100644 (file)
@@ -162,6 +162,7 @@ def test_ust_tracepoint_abi_api_vs_ust_enum(tmpdir, ust_label, tools_label, scen
         runtime_tools.run(cmd, cwd=app_path, ld_preload="./libtp-enum.so")
 
         # Stop tracing
+        runtime_tools.run('lttng stop')
         runtime_tools.run('lttng destroy -a')
         runtime_tools.subprocess_terminate(sessiond)
 
@@ -218,6 +219,7 @@ def test_ust_tracepoint_abi_api_vs_ust_base(tmpdir, ust_label, tools_label, scen
         runtime_tools.run(cmd, cwd=app_path, ld_preload="./libtp.so")
 
         # Stop tracing
+        runtime_tools.run('lttng stop')
         runtime_tools.run('lttng destroy -a')
         runtime_tools.subprocess_terminate(sessiond)
 
This page took 0.023981 seconds and 5 git commands to generate.