Tests: Add health check testpoint fail test
authorChristian Babeux <christian.babeux@efficios.com>
Thu, 13 Dec 2012 23:39:13 +0000 (18:39 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Fri, 14 Dec 2012 01:12:21 +0000 (20:12 -0500)
This test trigger a failure in a specified thread by using the testpoint
mechanism. The testpoints behavior is implemented in health_fail.c. The
testpoint code simply return 1 (non-zero values are considered as errors
for testpoints) to trigger the specific thread error handling mechanism.

This test ensure that we can detect health failure for each thread error
handling paths.

Signed-off-by: Christian Babeux <christian.babeux@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>

No differences found
This page took 0.025049 seconds and 4 git commands to generate.