james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernd Fondermann" <bernd.fonderm...@googlemail.com>
Subject Re: svn commit: r473471 - /james/server/trunk/src/test/org/apache/james/smtpserver/SMTPServerTest.java
Date Fri, 10 Nov 2006 23:49:02 GMT
On 11/10/06, Noel J. Bergman <noel@devtech.com> wrote:
> +        // not sure why this isn't just backlog, but empirically, I'm
> +        // getting a few more connections than I should.  I've tested
> +        // 2 and 4 (as well as 0, of course), and the result is
> +        // consistent on Ubuntu 2.6.12-10-amd64-k8-smp: <3 means that
> +        // the connection that should fail succeeds and >3 means that
> +        // a connection intended to backlog fails.
> +        final Socket connection[] = new Socket[backlog+3];
>
> Would people please try this unit test on their systems, and let me know what results
they are seeing?  I have tested this code on Ubuntu 2.6.12-10-amd64-k8-smp and CentOS 2.6.9-42.0.3.EL
with the same results.

Sure. MacOS:

Testcase: testConnectionLimitExceeded took 1.006 sec
        FAILED
connection #3 established
junit.framework.AssertionFailedError: connection #3 established
        at org.apache.james.smtpserver.SMTPServerTest.testConnectionLimitExceeded(SMTPServerTest.java:1077)

(Sorry, just running the test, no time trying to figure out why this
happens... Hope this helps anyway)

  Bernd

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message