lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidimagination.com>
Subject Re: svn commit: r1022335 - /lucene/dev/trunk/solr/src/test/org/apache/solr/BaseDistributedSearchTestCase.java
Date Fri, 15 Oct 2010 21:34:45 GMT
On Fri, Oct 15, 2010 at 5:21 PM, Robert Muir <rcmuir@gmail.com> wrote:
> because the hudson jail has 'tcp blackhole' set, tests should *never*
> depend on connecting to a port not accepting connections and getting
> an RST (it won't happen).
>
> Thats why this test takes 5 minutes now on hudson... we should fix
> similar problems in other tests too.


Ah bummer.
But this mirrors the exact real world scenario of a server being down
(no one listening on the port)... we need to test it somehow.

Shouldn't a connect timeout handle this case?

-Yonik
http://www.luicidimagination.com

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


Mime
View raw message