Merge "Temporary fix for ETCDCTL_ENDPOINT"

This commit is contained in:
Jenkins 2016-11-29 12:16:34 +00:00 committed by Gerrit Code Review
commit d6f8b580e6
1 changed files with 3 additions and 1 deletions

View File

@ -54,7 +54,9 @@ class SystemBaseTest(object):
def check_etcd_health(self, underlay):
node_names = underlay.node_names()
cmd = "etcdctl cluster-health | grep -c 'got healthy result'"
# TODO remove export after that issue will be fixed in KARGO
cmd = "export ETCDCTL_ENDPOINT=https://127.0.0.1:2379;" \
"etcdctl cluster-health | grep -c 'got healthy result'"
etcd_nodes = underlay.sudo_check_call(
cmd, node_name=node_names[0])['stdout'][0]