Do we have tests that are async (I'd say yes of course) and that could
loose events in a list appender (I do not know)? Are we getting lucky? IOW,
do we have the kind of async tests that end up stressing the system in a
way were we could loose events in a list appender (don't know). If we do
not, should we, is that missing?

Gary

On Thu, Sep 8, 2016 at 4:09 PM, Ralph Goers <ralph.go...@dslextreme.com>
wrote:

> So why are you asking?
>
> Ralph
>
> On Sep 8, 2016, at 2:45 PM, Gary Gregory <garydgreg...@gmail.com> wrote:
>
> On Thu, Sep 8, 2016 at 2:00 PM, Ralph Goers <ralph.go...@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 <garydgreg...@gmail.com> wrote:
>>
>> Should ListAppender use CopyOnWriteArray instead of ArrayList? Either all
>> the time or when using in aync tests?
>>
>> Gary
>>
>> --
>> E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
>> <ggreg...@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: garydgreg...@gmail.com | ggreg...@apache.org
> <ggreg...@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: garydgreg...@gmail.com | ggreg...@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

Reply via email to