james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noel J. Bergman" <n...@devtech.com>
Subject RE: [jira] Commented: (JAMES-684) testConnectionLimitExceeded junit test is broken
Date Sat, 11 Nov 2006 00:25:09 GMT
Bernd Fondermann wrote:

> Noel J. Bergman wrote:
> > Perhaps we should just test that there IS a backlog, and not try to be
too precise.

> Probably. If this is OS or TCP specific, we should only test this if
> we would really like to unit test the OS or TCP. :-) We can take all
> things for granted out of scope of the unit we are testing.

Please review the current test, and let me know what you think.  The test
presumes that there is a fixed number of connections that will be accepted,
a hard minimum of backlog connections, an upper bound of backlog connections
that can be measured, and well-defined behavior once that upper bound has
been reached.

	--- Noel



---------------------------------------------------------------------
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