logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: Async tests with ListAppender
Date Thu, 08 Sep 2016 21:45:35 GMT
On Thu, Sep 8, 2016 at 2:00 PM, Ralph Goers <ralph.goers@dslextreme.com>
wrote:

> Why would it? Do you have multiple threads logging? It wasn’t written to
> be used by anything but single threaded unit tests.
>

I do not have multiple threads logging in a test but I do not know if there
is one such test in the whole suite.

Gary


>
> Ralph
>
> On Sep 8, 2016, at 1:34 PM, Gary Gregory <garydgregory@gmail.com> wrote:
>
> Should ListAppender use CopyOnWriteArray instead of ArrayList? Either all
> the time or when using in aync tests?
>
> Gary
>
> --
> E-Mail: garydgregory@gmail.com | ggregory@apache.org
> Java Persistence with Hibernate, Second Edition
> <http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
>
>
>


-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Mime
View raw message