I have same problem. It is because in v7 there is actually MockHttpTransport used which is reporting 0.0.0.0:0. In v6 Netty4HttpServerTransport is used. I don't know why. Which HttpServerTransport will be used is decided in InternalTestCluster.getInstances(HttpServerTransport.class) and that is somehow related to node.
I think MockHttpTransport should not be choosed in InternalTestCluster in ESIntegTestCase.
Someone from elasticsearch should shed some light on this.
InternalTestCluster.buildNode prepares MockNode which newHttpTransport() method creates MockHttpTransport if plugin MockHttpTransport.TestPlugin is enabled. So solution can be to disable this plugin. I'll try ...
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.