X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fcommon%2Fpvccleaner_api_functions.sh;h=4ffb522987ec5058507045812aa418a853f43f7d;hb=f81090f8f5f1fd1a76bb9feab1f41f03252297c3;hp=62c2d43db1ba155bdbf9b074c1dc86e411358f80;hpb=968b89731a192c2ee3f3393d00519879ad89ce56;p=nonrtric.git diff --git a/test/common/pvccleaner_api_functions.sh b/test/common/pvccleaner_api_functions.sh index 62c2d43d..4ffb5229 100644 --- a/test/common/pvccleaner_api_functions.sh +++ b/test/common/pvccleaner_api_functions.sh @@ -79,7 +79,7 @@ __PVCCLEANER_kube_delete_all() { # args: __PVCCLEANER_store_docker_logs() { if [ $RUNMODE == "KUBE" ]; then - kubectl logs -l "autotest=PRODSTUB" -A --tail=-1 > $1$2_pvs_cleaner.log 2>&1 + kubectl $KUBECONF logs -l "autotest=PVCCLEANER" -A --tail=-1 > $1$2_pvs_cleaner.log 2>&1 fi } @@ -90,6 +90,20 @@ __PVCCLEANER_initial_setup() { : } +# Set app short-name, app name and namespace for logging runtime statistics of kubernets pods or docker containers +# For docker, the namespace shall be excluded +# This function is called for apps managed by the test script as well as for prestarted apps. +# args: - +__PVCCLEANER_statisics_setup() { + echo "" +} + +# Check application requirements, e.g. helm, the the test needs. Exit 1 if req not satisfied +# args: - +__PVCCLEANER_test_requirements() { + : +} + ####################################################### # This is a system app, all usage in testcase_common.sh \ No newline at end of file