mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maarten Bosteels <mbosteels....@gmail.com>
Subject Re: 2 Tests failing in MINA trunk build
Date Thu, 02 Jul 2009 12:52:14 GMT
Will try to have a look asap.

Maarten

On Thu, Jul 2, 2009 at 12:36 PM, Ashish <paliwalashish@gmail.com> wrote:

> Build MINA from trunk and saw these 2 test cases failing
>
> Failed tests:
>
>  testExecutorFilterAtTheEnd(org.apache.mina.filter.logging.MdcInjectionFilterTest)
>
>  testTwoExecutorFilters(org.apache.mina.filter.logging.MdcInjectionFilterTest)
>
> Tests run: 185, Failures: 2, Errors: 0, Skipped: 0
>
> This is the error (same for both failures), removed unwanted traces
>
> java.lang.AssertionError: MDC[remoteAddress] not set for [encode]
>        at org.junit.Assert.fail(Assert.java:74)
>        at org.junit.Assert.assertTrue(Assert.java:37)
>        at org.junit.Assert.assertNotNull(Assert.java:356)
>        at
> org.apache.mina.filter.logging.MdcInjectionFilterTest.test(MdcInjectionFilterTest.java:241)
>        at
> org.apache.mina.filter.logging.MdcInjectionFilterTest.testExecutorFilterAtTheEnd(MdcInjectionFilterTest.java:116)
>
> ==
> at
> org.apache.mina.filter.logging.MdcInjectionFilterTest.test(MdcInjectionFilterTest.java:241)
> at
> org.apache.mina.filter.logging.MdcInjectionFilterTest.testTwoExecutorFilters(MdcInjectionFilterTest.java:166)
>
> ==
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>
>
> --
> thanks
> ashish
>
> Blog: http://www.ashishpaliwal.com/blog
> My Photo Galleries: http://www.pbase.com/ashishpaliwal
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message