Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Name alignment, agent to a1pms, in test env
[nonrtric.git]
/
test
/
common
/
httpproxy_api_functions.sh
diff --git
a/test/common/httpproxy_api_functions.sh
b/test/common/httpproxy_api_functions.sh
index
af11f14
..
e805264
100644
(file)
--- a/
test/common/httpproxy_api_functions.sh
+++ b/
test/common/httpproxy_api_functions.sh
@@
-93,7
+93,7
@@
__HTTPPROXY_kube_delete_all() {
# args: <log-dir> <file-prexix>
__HTTPPROXY_store_docker_logs() {
if [ $RUNMODE == "KUBE" ]; then
# args: <log-dir> <file-prexix>
__HTTPPROXY_store_docker_logs() {
if [ $RUNMODE == "KUBE" ]; then
- kubectl logs -l "autotest=HTTPPROXY" -n $KUBE_SIM_NAMESPACE --tail=-1 > $1$2_httpproxy.log 2>&1
+ kubectl
$KUBECONF
logs -l "autotest=HTTPPROXY" -n $KUBE_SIM_NAMESPACE --tail=-1 > $1$2_httpproxy.log 2>&1
else
docker logs $HTTP_PROXY_APP_NAME > $1$2_httpproxy.log 2>&1
fi
else
docker logs $HTTP_PROXY_APP_NAME > $1$2_httpproxy.log 2>&1
fi
@@
-118,6
+118,12
@@
__HTTPPROXY_statisics_setup() {
fi
}
fi
}
+# Check application requirements, e.g. helm, the the test needs. Exit 1 if req not satisfied
+# args: -
+__HTTPPROXY_test_requirements() {
+ :
+}
+
#######################################################
# Set http as the protocol to use for all communication to the http proxy
#######################################################
# Set http as the protocol to use for all communication to the http proxy