commit | 758cd6087f1fa6e3d277898767e4222da10c0b3d | [log] [tgz] |
---|---|---|
author | Carlos Sanchez <carlos@apache.org> | Mon May 02 11:57:04 2016 -0700 |
committer | Carlos Sanchez <carlos@apache.org> | Mon May 02 11:57:04 2016 -0700 |
tree | 88c80547f5eab0c98dd542887b96d78c0689a08a | |
parent | e77dae513baedc1fc3d1c332c0f86e70edfc91ec [diff] [blame] |
Latest Docker for mac uses localhost
diff --git a/tests/test_helpers.bash b/tests/test_helpers.bash index f7d7c45..63994f2 100644 --- a/tests/test_helpers.bash +++ b/tests/test_helpers.bash
@@ -42,11 +42,7 @@ function get_jenkins_url { if [ -z "${DOCKER_HOST}" ]; then - if [ "$(uname)" == "Darwin" ]; then - DOCKER_IP=docker.local - else - DOCKER_IP=localhost - fi + DOCKER_IP=localhost else DOCKER_IP=$(echo "$DOCKER_HOST" | sed -e 's|tcp://\(.*\):[0-9]*|\1|') fi