Fixing Logic 23/9423/1
authorMark Beierl <mark.beierl@canonical.com>
Wed, 15 Jul 2020 18:50:22 +0000 (14:50 -0400)
committerMark Beierl <mark.beierl@canonical.com>
Wed, 15 Jul 2020 18:50:36 +0000 (14:50 -0400)
Breaks out of the loop once the vim is enabled

Change-Id: I2b8b6faeb7aa599a286ecc51155653b7d87ec52d
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
robot-systest/run_test.sh

index e8a02db..a279ff0 100755 (executable)
@@ -54,6 +54,9 @@ create_vim(){
             sleep 10
             STATUS=`osm vim-list --long | grep ${VIM_TARGET} | awk '{print $9}'`
         done
+        if [[ ${STATUS} = "ENABLED" ]] ; then
+            break
+        fi
         ((attempts--))
     done