On 7/6/05, Trustin Lee <[EMAIL PROTECTED]> wrote:
> 2005/7/6, Vinod Panicker <[EMAIL PROTECTED]>:
> > 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.