Tests: fix: test_tp_fail: bail out on non-existing relay daemon
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 6 May 2021 19:48:02 +0000 (15:48 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 6 May 2021 19:52:57 +0000 (15:52 -0400)
commite59fbef9052d7e79317edfe2f6af2efa95b79e96
treea8115d4ef06fc4d1c9321818ea90e24e67e41022
parent95ce9d2952391837f0373449019917eaf54d7bc5
Tests: fix: test_tp_fail: bail out on non-existing relay daemon

Fatal thread errors simulated by the tp_fail test cause the relay
daemon to shutdown. This is unexepected by stop_lttng_relayd_notap
which bails out, causing the test to fail.

We bail-out when the daemon is already dead to catch crashes
during the test suite since a0f8e310.

Use the clean-up variant so that we don't fail the tests for this
expected outcome.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I02e7f35451b3c81e7e808e9ff96b6c824fa8f904
tests/regression/tools/health/test_health.sh
This page took 0.024636 seconds and 4 git commands to generate.