X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=workflows%2Fnanobot.sh;h=cd545071eeea0d6ce9fa3517f0d0ae1373bda868;hb=e9585ab225af5e910238902ef8fa86129e6b2638;hp=ba13b4bfd39bc8b195c27e43ead60871f8f9ca11;hpb=9bc4b7ed01d2035bf8fb07e72b2ad4bd140bb9da;p=rec.git diff --git a/workflows/nanobot.sh b/workflows/nanobot.sh index ba13b4b..cd54507 100755 --- a/workflows/nanobot.sh +++ b/workflows/nanobot.sh @@ -60,6 +60,7 @@ kubectl logs $nanobot_pod -n rictest #--------------kill helm--------------------------------------------------------------------- pkill helm #------------checking the status of the rictest pod-------------------------------------- +sleep 30 command="$(kubectl get po --no-headers --namespace=rictest --field-selector status.phase=Completed 2> /dev/null)" if [[ $command != "" ]]; then exit 1