You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by Ashish <pa...@gmail.com> on 2009/07/02 12:36:13 UTC

2 Tests failing in MINA trunk build

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

Re: Re : 2 Tests failing in MINA trunk build

Posted by Emmanuel Lecharny <el...@apache.org>.
Edouard De Oliveira wrote:
> This is tracked in DIRMINA-711
>   
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

Same error.

We need to either fix this quickly, or revert the commits which made the 
build to fail.

One important point for committers :
*run mvn clean install before committing* !

-- 
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org



Re : 2 Tests failing in MINA trunk build

Posted by Edouard De Oliveira <do...@yahoo.fr>.
This is tracked in DIRMINA-711

 Cordialement, Regards,
-Edouard De Oliveira-
Blog: http://tedorgwp.free.fr
WebSite: http://tedorg.free.fr/en/main.php



----- Message d'origine ----
De : Emmanuel Lecharny <el...@apache.org>
À : dev@mina.apache.org
Envoyé le : Jeudi, 2 Juillet 2009, 14h56mn 48s
Objet : Re: 2 Tests failing in MINA trunk build

Maarten Bosteels wrote:
> Will try to have a look asap.
>  
/me Running mvn clean install atm.

-- --
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org


      

Re: 2 Tests failing in MINA trunk build

Posted by Emmanuel Lecharny <el...@apache.org>.
Maarten Bosteels wrote:
> Will try to have a look asap.
>   
/me Running mvn clean install atm.

-- 
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org



Re: 2 Tests failing in MINA trunk build

Posted by Maarten Bosteels <mb...@gmail.com>.
Will try to have a look asap.

Maarten

On Thu, Jul 2, 2009 at 12:36 PM, Ashish <pa...@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
>