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>
Fri, 7 May 2021 17:47:51 +0000 (13:47 -0400)
commit4ffc532402cf16787eb04ac957e5317b836e417b
treea8115d4ef06fc4d1c9321818ea90e24e67e41022
parentd0980f44b9be209af3b35914622b0cf2a4659110
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.025246 seconds and 4 git commands to generate.