Tests: rotation: add a per-pid size-based rotation test
[lttng-tools.git] / tests / regression / tools / health / test_tp_fail
1 #!/bin/bash
2 #
3 # Copyright (C) 2012 Christian Babeux <christian.babeux@efficios.com>
4 # Copyright (C) 2014 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
5 #
6 # SPDX-License-Identifier: GPL-2.0-only
7
8 TEST_DESC="Health check - Testpoint failure"
9
10 SESSION_NAME="health_tp_fail"
11 SESSIOND_PRELOAD=".libs/libhealthtpfail.so"
12 TEST_SUFFIX="TP_FAIL"
13 CURDIR=$(dirname $(readlink -f $0))
14
15 # A current design limitation of the lttng-consumerd will cause it to
16 # hang on shutdown if the timer management thread exits as the teardown
17 # of channels switches off the channel's timers. The timer thread is
18 # then expected to purge timer signals and signal when it is done.
19 # Obviously this state will never be reached as signals are no longer
20 # being processed. This is not dramatic as this is not what this test
21 # is meant to test; we only want to make sure the health check signals that
22 # something went wrong.
23 KILL_SIGNAL="SIGKILL"
24
25 source ${CURDIR}/test_health.sh
This page took 0.031716 seconds and 4 git commands to generate.