I'm not sure this is right. When I run locally, I get this in the logs of
CookieTest
Host address: 127.0.0.1
Host name: localhost
while in the vm I get this:
Host address: 10.0.0.4
Host name: 10.0.0.4
Host name is what I get here in Bookie.java:
if (conf.getUseHostNameAsBookieID())
Sijie,
The problem seems to be that the public address (the one the hostname maps to)
and the virtual network are different. The tests that are failing seem to
expect that they are the same. Does it make sense?
-Flavio
On Wednesday, March 18, 2015 5:12 AM, Rakesh R rake...@huawei.com
The hostname in that host will be resolved to be IP, which the IP and
hostname would be same. But the tests expect that the IP and hostname are
different.
We should change the tool to allow passing in any bookie id, which would
make the tests more deterministic.
- Sijie
On Thu, Mar 19, 2015 at