aboutsummaryrefslogtreecommitdiffstats
path: root/kud/tests/negative_tests/test_deployment_intent_group.sh
diff options
context:
space:
mode:
authorRitu Sood <ritu.sood@intel.com>2021-10-22 17:08:02 +0000
committerGerrit Code Review <gerrit@onap.org>2021-10-22 17:08:02 +0000
commita6729589f63719580a404513db4846b98c16b455 (patch)
treea1628db2396f7d7d7601a65232e3cfe7c0150672 /kud/tests/negative_tests/test_deployment_intent_group.sh
parentb02ac53a7b6a4b750c542f8d07639751a2eb61ba (diff)
parent988ebcf24c7d854a4053437b69cfb120acb8039c (diff)
Merge "Allow KuD installer to specify Kubespray 2.14.1 or 2.16.0"
Diffstat (limited to 'kud/tests/negative_tests/test_deployment_intent_group.sh')
-rwxr-xr-xkud/tests/negative_tests/test_deployment_intent_group.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/kud/tests/negative_tests/test_deployment_intent_group.sh b/kud/tests/negative_tests/test_deployment_intent_group.sh
index 402a0b1d..18857e42 100755
--- a/kud/tests/negative_tests/test_deployment_intent_group.sh
+++ b/kud/tests/negative_tests/test_deployment_intent_group.sh
@@ -26,10 +26,8 @@ source _test_functions.sh
if [ ${1:+1} ]; then
if [ "$1" == "--external" ]; then
- master_ip=$(kubectl cluster-info | grep "Kubernetes master" | \
- awk -F ":" '{print $2}' | awk -F "//" '{print $2}')
onap_svc_node_port=30498
- base_url="http://$master_ip:$onap_svc_node_port/v1"
+ base_url="http://$(control_plane_ip):$onap_svc_node_port/v1"
fi
fi