X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=robot-systest%2Frun_test.sh;h=33268e6575b24feac5a465f483ea7aead87f8b9b;hb=1d535aff29bd12c8c96e3a6c206c4a89f530d144;hp=863cb44469283fbb1f80ee2af86b524dff20e60e;hpb=e570b10455cf0ca49f1597e91282ce75c06688ea;p=osm%2Ftests.git diff --git a/robot-systest/run_test.sh b/robot-systest/run_test.sh index 863cb44..33268e6 100755 --- a/robot-systest/run_test.sh +++ b/robot-systest/run_test.sh @@ -29,7 +29,7 @@ download_packages(){ echo -e "\nDownloading packages ${PACKAGES}" rm -rf ${PACKAGES_FOLDER} git clone https://osm.etsi.org/gitlab/vnf-onboarding/osm-packages.git ${PACKAGES_FOLDER} && (cd ${PACKAGES_FOLDER} && \ - git checkout ${PACKAGES}) + git checkout sol006) } download_tst010(){ @@ -52,13 +52,15 @@ create_vim(){ do ((i++)) if [[ $i -eq 5 ]]; then - echo "VIM stuck in PROCESSING after 50 seconds" + echo "VIM stuck in ${STATUS} after 50 seconds" osm vim-delete --force ${VIM_TARGET} sleep 5 break fi sleep 10 - STATUS=`osm vim-list --long | grep ${VIM_TARGET} | awk '{print $9}'` + VIM_LIST=`osm vim-list --long | grep ${VIM_TARGET}` + echo VIM status: ${VIM_LIST} + STATUS=`echo ${VIM_LIST} | awk '{print $9}'` done if [[ ${STATUS} = "ENABLED" ]] ; then break