directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vinod Panicker <vino...@gmail.com>
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 <trustin@gmail.com> wrote:
> 2005/7/6, Vinod Panicker <vinod.p@gmail.com>: 
> > The test fails.  Here's the output -
>  
> Could you please try again after you comment out the 325th line of
> ThreadPoolFilter.java? (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(ThreadPoolFilterRegressionTest.java:85)
	at org.apache.mina.filter.ThreadPoolFilterRegressionTest$EventOrderChecker.messageReceived(ThreadPoolFilterRegressionTest.java:166)
	at org.apache.mina.filter.ThreadPoolFilter.processEvent(ThreadPoolFilter.java:504)
	at org.apache.mina.filter.ThreadPoolFilter$Worker.processEvents(ThreadPoolFilter.java:293)
	at org.apache.mina.filter.ThreadPoolFilter$Worker.run(ThreadPoolFilter.java:232)


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

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

Regards,
Vinod.

Mime
View raw message