Hello,

As you know, the jetty test in lucene's replicator module would fail in
non-reproducible ways, only on Mac OS X, and only on java6. Finally we got
to the bottom of this:
https://issues.apache.org/jira/browse/LUCENE-5037

The basic problem is: the server would start on 127.0.0.1, but the client
would connect to localhost. At least this one configuration (OSX + java6)
behaves wierd on a dual-stack ipv4/ipv6 system, it seems to round-robin
thru the 3 entries for localhost in /etc/hosts (127.0.0.1, ::1, and
link-local ipv6). This means the test would fail if the resolver picked an
ipv6 one.

So the fix was to just use 127.0.0.1 for both server and client in the test.

I wonder if the same bug impacts other tests (e.g. solr jetty tests) using
jetty.

Reply via email to