New test profile
[nonrtric.git] / test / common / kafkapc_api_functions.sh
index 002657c..fee52ae 100644 (file)
@@ -94,7 +94,7 @@ __KAFKAPC_kube_delete_all() {
 # args: <log-dir> <file-prexix>
 __KAFKAPC_store_docker_logs() {
        if [ $RUNMODE == "KUBE" ]; then
-               kubectl  logs -l "autotest=KAFKAPC" -n $KUBE_SIM_NAMESPACE --tail=-1 > $1$2_kafkapc.log 2>&1
+               kubectl $KUBECONF  logs -l "autotest=KAFKAPC" -n $KUBE_SIM_NAMESPACE --tail=-1 > $1$2_kafkapc.log 2>&1
        else
                docker logs $KAFKAPC_APP_NAME > $1$2_kafkapc.log 2>&1
        fi
@@ -119,6 +119,12 @@ __KAFKAPC_statisics_setup() {
        fi
 }
 
+# Check application requirements, e.g. helm, the the test needs. Exit 1 if req not satisfied
+# args: -
+__KAFKAPC_test_requirements() {
+       :
+}
+
 #######################################################
 
 #######################################################