X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fcommon%2Fricsimulator_api_functions.sh;h=a83521878a1e257a513a2abecb163f41b73ed5b7;hb=a54915769edaaf1c0989d4857d17e6f8ac19cb89;hp=bf30310efae650f5e76695ea4e7c022f979ad9d7;hpb=483ee33ac3de88385c0eeb3f1ecf3a1bb760db54;p=nonrtric.git diff --git a/test/common/ricsimulator_api_functions.sh b/test/common/ricsimulator_api_functions.sh index bf30310e..a8352187 100644 --- a/test/common/ricsimulator_api_functions.sh +++ b/test/common/ricsimulator_api_functions.sh @@ -314,7 +314,7 @@ __find_sim_port() { __find_sim_host() { if [ $RUNMODE == "KUBE" ]; then ricname=$(echo "$1" | tr '_' '-') - for timeout in {1..60}; do + for timeout in {1..500}; do # long waiting time needed in case of starting large number of sims host=$(kubectl get pod $ricname -n $KUBE_NONRTRIC_NAMESPACE -o jsonpath='{.status.podIP}' 2> /dev/null) if [ ! -z "$host" ]; then echo $RIC_SIM_HTTPX"://"$host":"$RIC_SIM_PORT @@ -475,7 +475,7 @@ sim_post_delete_instances() { # (Function for test scripts) sim_post_delete_all() { __log_conf_start $@ - if [ $# -ne 3 ]; then + if [ $# -ne 2 ]; then __print_err " " $@ return 1 fi