Camel :: Nagios unit test will break if exception is thrown during set up
-------------------------------------------------------------------------
Key: CAMEL-4393
URL: https://issues.apache.org/jira/browse/CAMEL-4393
Project: Camel
Issue Type: Task
Reporter: Mathieu Lalonde
Priority: Minor
Fix For: Future
The test classes swallow any exceptions thrown during setUp, log a warning and
set flag indicating they can't run.
Test methods return successfully if the flag is set! If an error is introduced
during the setUp() phase, all tests will pass and we will be down to developer
eye balls to spot the warning!
The simplest solution is to let the exception escape from setUp() which will
count as a test error.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira