summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
Diffstat (limited to 'ci')
-rwxr-xr-xci/envs/lmtest.sh3
-rwxr-xr-xci/test_kvmfornfv.sh6
2 files changed, 5 insertions, 4 deletions
diff --git a/ci/envs/lmtest.sh b/ci/envs/lmtest.sh
index 9136fb62b..54c3fb43c 100755
--- a/ci/envs/lmtest.sh
+++ b/ci/envs/lmtest.sh
@@ -57,9 +57,6 @@ EOF
# updateConfDaily
#fi
-echo "changing the qemu-migrate.py"
-sed -i "s/\/root\/workspace/\/root\/workspace\//g" ${yardstick_prefix}/qemu_migrate.py
-sed -i "s/host.put_file/host._put_file_shell/g" ${yardstick_prefix}/qemu_migrate.py
#Running livemigration through yardstick
echo "Executing livemigration through yardstick"
diff --git a/ci/test_kvmfornfv.sh b/ci/test_kvmfornfv.sh
index 09bba8149..6f6d18e56 100755
--- a/ci/test_kvmfornfv.sh
+++ b/ci/test_kvmfornfv.sh
@@ -65,8 +65,12 @@ function liveMigration {
elif [ ${test_env} == "local" ];then
source $WORKSPACE/ci/cyclicTestTrigger.sh $HOST_IP
connect_host
+ #Update pod.yaml with IP
+ cd $WORKSPACE/tests/
+ sed -ri "s/[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}/${HOST_IP}/" pod.yaml
+ #Cleaning the environment before running Livemigration through yardstick
env_clean
- #Waiting for ssh to be available for the host machine.
+ #Waiting for ssh to be available for the host machine
sleep 20
if runLiveMigration ${test_env} ${test_name};then
livemigration_result=`expr ${livemigration_result} + 0`