Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Updated test of info-types
[nonrtric.git]
/
test
/
common
/
ricsimulator_api_functions.sh
diff --git
a/test/common/ricsimulator_api_functions.sh
b/test/common/ricsimulator_api_functions.sh
index
785ff9a
..
0df800f
100644
(file)
--- a/
test/common/ricsimulator_api_functions.sh
+++ b/
test/common/ricsimulator_api_functions.sh
@@
-351,7
+351,11
@@
__execute_curl_to_sim() {
proxyflag=""
if [ $RUNMODE == "KUBE" ]; then
if [ ! -z "$KUBE_PROXY_PATH" ]; then
proxyflag=""
if [ $RUNMODE == "KUBE" ]; then
if [ ! -z "$KUBE_PROXY_PATH" ]; then
- proxyflag=" --proxy $KUBE_PROXY_PATH"
+ if [ $KUBE_PROXY_HTTPX == "http" ]; then
+ proxyflag=" --proxy $KUBE_PROXY_PATH"
+ else
+ proxyflag=" --proxy-insecure --proxy $KUBE_PROXY_PATH"
+ fi
fi
fi
echo " CMD: $2 $proxyflag" >> $HTTPLOG
fi
fi
echo " CMD: $2 $proxyflag" >> $HTTPLOG
@@
-475,7
+479,7
@@
sim_post_delete_instances() {
# (Function for test scripts)
sim_post_delete_all() {
__log_conf_start $@
# (Function for test scripts)
sim_post_delete_all() {
__log_conf_start $@
- if [ $# -ne
3
]; then
+ if [ $# -ne
2
]; then
__print_err "<response-code> <numericic-id>" $@
return 1
fi
__print_err "<response-code> <numericic-id>" $@
return 1
fi