X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=test%2Fcommon%2Frc_api_functions.sh;h=050ddd1afeb92b2e80af56532339db5ce303d110;hb=5e217217e43fc6d8a73f5aca0dfcbbf28fdd32c6;hp=3766d191800db004ba31a7af84cc6f160921c593;hpb=007b64509101d8e3ef881955adee2ad15d062213;p=nonrtric.git diff --git a/test/common/rc_api_functions.sh b/test/common/rc_api_functions.sh index 3766d191..050ddd1a 100644 --- a/test/common/rc_api_functions.sh +++ b/test/common/rc_api_functions.sh @@ -34,7 +34,7 @@ __RC_imagesetup() { # Shall be used for images that does not allow overriding # Both arg var may contain: 'remote', 'remote-remove' or 'local' __RC_imagepull() { - __check_and_pull_image $1 "$c" $RAPP_CAT_APP_NAME RAPP_CAT_IMAGE + __check_and_pull_image $1 "$RAPP_CAT_DISPLAY_NAME" $RAPP_CAT_APP_NAME RAPP_CAT_IMAGE } # Generate a string for each included image using the app display name and a docker images format string @@ -71,7 +71,7 @@ __RC_kube_delete_all() { # args: __RC_store_docker_logs() { if [ $RUNMODE == "KUBE" ]; then - kubectl logs -l "autotest=RC" -n $KUBE_NONRTRIC_NAMESPACE --tail=-1 > $1$2_rc.log 2>&1 + kubectl $KUBECONF logs -l "autotest=RC" -n $KUBE_NONRTRIC_NAMESPACE --tail=-1 > $1$2_rc.log 2>&1 else docker logs $RAPP_CAT_APP_NAME > $1$2_rc.log 2>&1 fi @@ -96,6 +96,12 @@ __RC_statisics_setup() { fi } +# Check application requirements, e.g. helm, the the test needs. Exit 1 if req not satisfied +# args: - +__RC_test_requirements() { + : +} + ####################################################### # Set http as the protocol to use for all communication to the Rapp catalogue