On 01/04/2015 07:29, Marcel Reutegger wrote:
> The test failure was:
>
> Failed tests:   
> testProxyFlippedIntermediateByteChange(org.apache.jackrabbit.oak.plugins.se
> gment.standby.ExternalSharedStoreIT): expected:<{ root = { ... } }> but
> was:<{ root : { } }>
>
>
> It's a bit difficult for me to see what went wrong, because the
> test forcibly causes exceptions. So, many of the exceptions in
> the log are kind of expected...
>
Could we catch all the logged exceptions with an ad-hoc appender and
then in case output only the relevant ones?

An example with custom appender for testing can be found in
https://github.com/apache/jackrabbit-oak/blob/105f890e04ee990f0e71d88937955680670d96f7/oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/index/property/Oak2077QueriesTest.java

-- Davide


Reply via email to