X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=kvmfornfv.git;a=blobdiff_plain;f=ci%2Ftest_kvmfornfv.sh;fp=ci%2Ftest_kvmfornfv.sh;h=6f6d18e56ecf2459f6090e9349d56194660071c1;hp=09bba8149caed7d511fe07067e9ed5b4693707ce;hb=5f28ffec33fb4b548353854abf51ff75b9814c35;hpb=7ea7eea6dab8c1b40c2626eead4ced80e77f87b9 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`