Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fetch of authorization token
[nonrtric.git]
/
test
/
common
/
dmaapadp_api_functions.sh
diff --git
a/test/common/dmaapadp_api_functions.sh
b/test/common/dmaapadp_api_functions.sh
index
a9605ec
..
d7e8c0d
100644
(file)
--- a/
test/common/dmaapadp_api_functions.sh
+++ b/
test/common/dmaapadp_api_functions.sh
@@
-79,7
+79,7
@@
__DMAAPADP_kube_delete_all() {
# args: <log-dir> <file-prexix>
__DMAAPADP_store_docker_logs() {
if [ $RUNMODE == "KUBE" ]; then
# args: <log-dir> <file-prexix>
__DMAAPADP_store_docker_logs() {
if [ $RUNMODE == "KUBE" ]; then
- kubectl logs -l "autotest=DMAAPADP" -n $KUBE_NONRTRIC_NAMESPACE --tail=-1 > $1$2_dmaapadapter.log 2>&1
+ kubectl
$KUBECONF
logs -l "autotest=DMAAPADP" -n $KUBE_NONRTRIC_NAMESPACE --tail=-1 > $1$2_dmaapadapter.log 2>&1
else
docker logs $DMAAP_ADP_APP_NAME > $1$2_dmaapadapter.log 2>&1
fi
else
docker logs $DMAAP_ADP_APP_NAME > $1$2_dmaapadapter.log 2>&1
fi
@@
-104,6
+104,12
@@
__DMAAPADP_statisics_setup() {
fi
}
fi
}
+# Check application requirements, e.g. helm, the the test needs. Exit 1 if req not satisfied
+# args: -
+__DMAAPADP_test_requirements() {
+ :
+}
+
#######################################################
# Set http as the protocol to use for all communication to the Dmaap adapter
#######################################################
# Set http as the protocol to use for all communication to the Dmaap adapter