Tests: use SIGKILL to shutdown daemons in test_thread_exit and test_tp_fail
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 19 May 2017 15:19:16 +0000 (11:19 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 19 May 2017 20:45:44 +0000 (16:45 -0400)
commitf2bae05bf45c4ce894946c7c386cfdab20784589
tree04d45741404006a3da0d918500c4317dc822b9c8
parentcecd89cf0b7b432df305da8d5db4ee88f61c9de0
Tests: use SIGKILL to shutdown daemons in test_thread_exit and test_tp_fail

A current design limitation of the lttng-consumerd will cause it to
hang on shutdown if the timer management thread exits as the teardown
of channels switches off the channel's timers. The timer thread is
then expected to purge timer signals and signal when it is done.

Obviously this state will never be reached as signals are no longer
being processed. This is not dramatic as this is not what this test
is meant to test; we only want to make sure the health check signals that
something went wrong.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/regression/tools/health/test_health.sh
tests/regression/tools/health/test_thread_exit
tests/regression/tools/health/test_tp_fail
This page took 0.026608 seconds and 5 git commands to generate.