diff options
author | aditya.puthuparambil <aditya.puthuparambil@est.tech> | 2020-05-13 12:17:42 +0100 |
---|---|---|
committer | aditya.puthuparambil <aditya.puthuparambil@est.tech> | 2020-05-13 18:08:58 +0100 |
commit | 31e9bd9dd79da923e521ab51d627e7622a548062 (patch) | |
tree | db5804c9921d397061c86915799616eb3f9d3293 /testsuites/stability | |
parent | 4de0870f3bb8d9faaa01508d9a08e76cb6c74714 (diff) |
PAP Performance test changes
Issue-ID: POLICY-2454
Signed-off-by: aditya.puthuparambil <aditya.puthuparambil@est.tech>
Change-Id: Ifb7a89d4098e62f9ea3e0689e154f9bdd0e990e3
Diffstat (limited to 'testsuites/stability')
-rw-r--r-- | testsuites/stability/src/main/resources/simulatorsetup/setup_components.sh | 8 |
1 files changed, 8 insertions, 0 deletions
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"` |