commit | b56d10d26d6230d33d2f94bc0bfd7143cd00e5af | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Thu Apr 02 09:36:27 2020 +0900 |
committer | David Pursehouse <dpursehouse@collab.net> | Thu Apr 02 09:36:27 2020 +0900 |
tree | 3c4955d6bebe6089fcf2bd3363ba14e042171a57 | |
parent | 336b1a40aabc5d2e584a18d3473dbe295c25ead2 [diff] |
Simplify creation of Elasticsearch containers in tests Remove the ElasticNodeInfo class which is just a wrapper around the container's HTTP hostname and port. Instead we can just use the container and get the hostname and port directly. This reduces the amount of boilerplate code in the tests where the containers are created. Change-Id: I969fb3708ce1616182fa98c1c5bfccca658e1250