You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by Gary Gregory <ga...@gmail.com> on 2014/08/20 03:58:48 UTC
Flume unit test issue
I am seeing the following:
testLog4Event(org.apache.logging.log4j.flume.appender.FlumeEmbeddedAgentTest)
Time elapsed: 32.31 sec <<< FAILURE!
java.lang.AssertionError: null
at org.junit.Assert.fail(Assert.java:86)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.junit.Assert.assertNotNull(Assert.java:621)
at org.junit.Assert.assertNotNull(Assert.java:631)
at
org.apache.logging.log4j.flume.appender.FlumeEmbeddedAgentTest.testLog4Event(FlumeEmbeddedAgentTest.java:135)
No Event returned
No Event returned
No Event returned
No Event returned
No Event returned
...
on and on.
Any one else seeing this?
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
Re: Flume unit test issue
Posted by Gary Gregory <ga...@gmail.com>.
Yeah, it's not happening anymore. But I see a different error, see my new
thread.
Gary
On Wed, Aug 20, 2014 at 12:26 AM, Gary Gregory <ga...@gmail.com>
wrote:
> Probably a timing issue...
>
> Gary
>
>
> On Wed, Aug 20, 2014 at 12:00 AM, Matt Sicker <bo...@gmail.com> wrote:
>
>> Passed for me. Could it be a Windows issue?
>>
>>
>> On 19 August 2014 20:58, Gary Gregory <ga...@gmail.com> wrote:
>>
>>> I am seeing the following:
>>>
>>> testLog4Event(org.apache.logging.log4j.flume.appender.FlumeEmbeddedAgentTest)
>>> Time elapsed: 32.31 sec <<< FAILURE!
>>> java.lang.AssertionError: null
>>> at org.junit.Assert.fail(Assert.java:86)
>>> at org.junit.Assert.assertTrue(Assert.java:41)
>>> at org.junit.Assert.assertNotNull(Assert.java:621)
>>> at org.junit.Assert.assertNotNull(Assert.java:631)
>>> at
>>> org.apache.logging.log4j.flume.appender.FlumeEmbeddedAgentTest.testLog4Event(FlumeEmbeddedAgentTest.java:135)
>>>
>>> No Event returned
>>> No Event returned
>>> No Event returned
>>> No Event returned
>>> No Event returned
>>> ...
>>> on and on.
>>>
>>> Any one else seeing this?
>>>
>>> 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
>>>
>>
>>
>>
>> --
>> Matt Sicker <bo...@gmail.com>
>>
>
>
>
> --
> 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
Re: Flume unit test issue
Posted by Gary Gregory <ga...@gmail.com>.
Probably a timing issue...
Gary
On Wed, Aug 20, 2014 at 12:00 AM, Matt Sicker <bo...@gmail.com> wrote:
> Passed for me. Could it be a Windows issue?
>
>
> On 19 August 2014 20:58, Gary Gregory <ga...@gmail.com> wrote:
>
>> I am seeing the following:
>>
>> testLog4Event(org.apache.logging.log4j.flume.appender.FlumeEmbeddedAgentTest)
>> Time elapsed: 32.31 sec <<< FAILURE!
>> java.lang.AssertionError: null
>> at org.junit.Assert.fail(Assert.java:86)
>> at org.junit.Assert.assertTrue(Assert.java:41)
>> at org.junit.Assert.assertNotNull(Assert.java:621)
>> at org.junit.Assert.assertNotNull(Assert.java:631)
>> at
>> org.apache.logging.log4j.flume.appender.FlumeEmbeddedAgentTest.testLog4Event(FlumeEmbeddedAgentTest.java:135)
>>
>> No Event returned
>> No Event returned
>> No Event returned
>> No Event returned
>> No Event returned
>> ...
>> on and on.
>>
>> Any one else seeing this?
>>
>> 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
>>
>
>
>
> --
> Matt Sicker <bo...@gmail.com>
>
--
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
Re: Flume unit test issue
Posted by Matt Sicker <bo...@gmail.com>.
Passed for me. Could it be a Windows issue?
On 19 August 2014 20:58, Gary Gregory <ga...@gmail.com> wrote:
> I am seeing the following:
>
> testLog4Event(org.apache.logging.log4j.flume.appender.FlumeEmbeddedAgentTest)
> Time elapsed: 32.31 sec <<< FAILURE!
> java.lang.AssertionError: null
> at org.junit.Assert.fail(Assert.java:86)
> at org.junit.Assert.assertTrue(Assert.java:41)
> at org.junit.Assert.assertNotNull(Assert.java:621)
> at org.junit.Assert.assertNotNull(Assert.java:631)
> at
> org.apache.logging.log4j.flume.appender.FlumeEmbeddedAgentTest.testLog4Event(FlumeEmbeddedAgentTest.java:135)
>
> No Event returned
> No Event returned
> No Event returned
> No Event returned
> No Event returned
> ...
> on and on.
>
> Any one else seeing this?
>
> 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
>
--
Matt Sicker <bo...@gmail.com>