aboutsummaryrefslogtreecommitdiffstats
path: root/kud/tests/negative_tests/test_all_intents.sh
diff options
context:
space:
mode:
Diffstat (limited to 'kud/tests/negative_tests/test_all_intents.sh')
-rwxr-xr-xkud/tests/negative_tests/test_all_intents.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/kud/tests/negative_tests/test_all_intents.sh b/kud/tests/negative_tests/test_all_intents.sh
index 1f2f721f..00304906 100755
--- a/kud/tests/negative_tests/test_all_intents.sh
+++ b/kud/tests/negative_tests/test_all_intents.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