From 66ef2fa5e613441f681565daf4c418abf7eddaeb Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Date: Fri, 15 Dec 2017 18:17:53 -0500 Subject: [PATCH] Stop and destroy before terminating lttng-sessiond Signed-off-by: Jonathan Rajotte --- .../tests/modules_abi_vs_tools/test_modules_abi_vs_tools.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lttng_ivc/tests/modules_abi_vs_tools/test_modules_abi_vs_tools.py b/lttng_ivc/tests/modules_abi_vs_tools/test_modules_abi_vs_tools.py index f024f3a..466f72b 100644 --- a/lttng_ivc/tests/modules_abi_vs_tools/test_modules_abi_vs_tools.py +++ b/lttng_ivc/tests/modules_abi_vs_tools/test_modules_abi_vs_tools.py @@ -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") -- 2.34.1