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:44:02 +0000 (16:44 -0400)
commitd9ab33856fd7bef5b598c9b6a47309b3bf9b06f2
tree62e487358c79068a8a8d2765779a7e46b04491fc
parentf05a6b6d56e3ff5a7fed1db2ef630665ca6f4c56
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.026471 seconds and 5 git commands to generate.