So, to confirm what you all have suspected, I disabled ipv6 echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6 /etc/init.d/network restart
and made the tests just start working perfectly Running org.apache.bookkeeper.client.TestReadTimeout Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.338 sec Running org.apache.bookkeeper.client.BookKeeperTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.746 sec ... Thank you all for your help. Gabriel Russell On Tue, Jun 12, 2012 at 12:26 PM, Ivan Kelly <[email protected]> wrote: > Thats why I asked about the net.ipv6.bindv6only value. That seems ok > though. I would expect -Djava.net.preferIPv4Stack=true to make java > use the ipv4 stack though. It's strange. > > @Gabriel, do these machines have an ipv4 stack? > > -Ivan >
