[ https://issues.apache.org/jira/browse/CAMEL-4393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mathieu Lalonde updated CAMEL-4393: ----------------------------------- Fix Version/s: (was: Future) I guess I jumped to conclusion too soon. I'll make sure to take this into account for CAMEL-4332. > 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 > Assignee: Mathieu Lalonde > Priority: Minor > Original Estimate: 2h > Remaining Estimate: 2h > > 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