From 31e9bd9dd79da923e521ab51d627e7622a548062 Mon Sep 17 00:00:00 2001 From: "aditya.puthuparambil" Date: Wed, 13 May 2020 12:17:42 +0100 Subject: PAP Performance test changes Issue-ID: POLICY-2454 Signed-off-by: aditya.puthuparambil Change-Id: Ifb7a89d4098e62f9ea3e0689e154f9bdd0e990e3 --- .../src/main/resources/simulatorsetup/setup_components.sh | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'testsuites/stability/src/main') diff --git a/testsuites/stability/src/main/resources/simulatorsetup/setup_components.sh b/testsuites/stability/src/main/resources/simulatorsetup/setup_components.sh index 8ea123d9..5323fc57 100644 --- a/testsuites/stability/src/main/resources/simulatorsetup/setup_components.sh +++ b/testsuites/stability/src/main/resources/simulatorsetup/setup_components.sh @@ -21,6 +21,14 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" echo ${DIR} +# get the PAP_HOST from the command line +read -p 'PAP_HOST : ' PAP_HOST + +# setting hostname to environment variable +echo "export API_HOST=`hostname -I | awk '{print $1}'`" >> ~/.bashrc +echo "export PAP_HOST=$PAP_HOST" >> ~/.bashrc +source ~/.bashrc + # the temp directory used, within $DIR # omit the -p parameter to create a temporal directory in the default location WORK_DIR=`mktemp -d -p "$DIR"` -- cgit 1.2.3-korg