Fixed Bug in KUD installer job
[icn.git] / cmd / bpa-restapi-agent / e2e_test.sh
index bfc9478..b998f40 100755 (executable)
@@ -45,6 +45,7 @@ while [[ $cur_status != "Running" ]]; do
     if [[ $cur_status != "Running" ]]; then
         echo "$(date +%H:%M:%S) - BPA-RESTful-API Pod status: $cur_status"
     else
+        echo "$(date +%H:%M:%S) - BPA-RESTful-API Pod status: $cur_status"
         break
 
     fi
@@ -54,6 +55,7 @@ while [[ $cur_status != "Running" ]]; do
     sleep 10
 done
 
+sleep 10
 
 #Get CLusterIP
 IP=$(kubectl get services | grep bpa-api-service | awk '{print $3}')