X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=tests%2Funit%2Ftest_session.cpp;h=5a549a593d51ff32df4973c154a1a3787de6b0d3;hb=3c3390532736cfb5198f863d0d2b218e21fcf76d;hp=ee0549906b5f051fbba61b78586642f974930248;hpb=21cf9b6b1843774306a76f4dccddddd706b64f79;p=lttng-tools.git diff --git a/tests/unit/test_session.cpp b/tests/unit/test_session.cpp index ee0549906..5a549a593 100644 --- a/tests/unit/test_session.cpp +++ b/tests/unit/test_session.cpp @@ -18,7 +18,6 @@ #include #include #include -#include #include #include #include @@ -325,14 +324,10 @@ static void test_large_session_number(void) int main(int argc, char **argv) { - struct lttng_thread *ht_cleanup_thread; plan_tests(NUM_TESTS); the_health_sessiond = health_app_create(NR_HEALTH_SESSIOND_TYPES); - ht_cleanup_thread = launch_ht_cleanup_thread(); - LTTNG_ASSERT(ht_cleanup_thread); - lttng_thread_put(ht_cleanup_thread); diag("Sessions unit tests");