directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vinod Panicker <>
Subject Re: [mina] Anyone who can test MINA with ThreadPoolFilter in a multiprocessor machine?
Date Thu, 07 Jul 2005 05:08:12 GMT
On 7/6/05, Trustin Lee <> wrote:
> 2005/7/6, Vinod Panicker <>: 
> > The test fails.  Here's the output -
> Could you please try again after you comment out the 325th line of
> (removeSessionBuffer( buf );) 

Did an svn up - got the latest version of the test.  Ran test and it failed.

Commented the line as you said, ran the test and it still failed.

Testsuite: org.apache.mina.filter.ThreadPoolFilterRegressionTest
Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 13.969 sec

Testcase: testEventOrder(org.apache.mina.filter.ThreadPoolFilterRegressionTest):	FAILED
expected:<415388> but was:<415389>
junit.framework.AssertionFailedError: expected:<415388> but was:<415389>
	at org.apache.mina.filter.ThreadPoolFilterRegressionTest$EventOrderCounter.setLastCount(
	at org.apache.mina.filter.ThreadPoolFilterRegressionTest$EventOrderChecker.messageReceived(
	at org.apache.mina.filter.ThreadPoolFilter.processEvent(
	at org.apache.mina.filter.ThreadPoolFilter$Worker.processEvents(
	at org.apache.mina.filter.ThreadPoolFilter$

The test does use both CPU's to 100% capacity.

> This bug now seems to be unreproducable in single processor machines. 


View raw message