Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Restructure test cases and upgraded test environment
[nonrtric.git]
/
test
/
auto-test
/
FTC110.sh
diff --git
a/test/auto-test/FTC110.sh
b/test/auto-test/FTC110.sh
index
d6894b5
..
90b7827
100755
(executable)
--- a/
test/auto-test/FTC110.sh
+++ b/
test/auto-test/FTC110.sh
@@
-21,7
+21,7
@@
TC_ONELINE_DESCR="Testing of service registration timeouts and keepalive"
#App names to exclude checking pulling images for, space separated list
TC_ONELINE_DESCR="Testing of service registration timeouts and keepalive"
#App names to exclude checking pulling images for, space separated list
-EXCLUDED_IMAGES="SD
MC SDNC_ONAP
"
+EXCLUDED_IMAGES="SD
NC ECS
"
. ../common/testcase_common.sh $@
. ../common/agent_api_functions.sh
. ../common/testcase_common.sh $@
. ../common/agent_api_functions.sh
@@
-33,7
+33,11
@@
generate_uuid
##########################
# Path to callback receiver
CR_PATH="http://$CR_APP_NAME:$CR_EXTERNAL_PORT/callbacks"
##########################
# Path to callback receiver
CR_PATH="http://$CR_APP_NAME:$CR_EXTERNAL_PORT/callbacks"
+
use_cr_http
use_cr_http
+use_simulator_http
+use_mr_http
+use_agent_rest_http
#### TEST BEGIN ####
#### TEST BEGIN ####
@@
-57,8
+61,6
@@
start_policy_agent
set_agent_debug
set_agent_debug
-use_agent_rest_http
-
#Verify no callbacks or dmaap messages has been sent
cr_equal received_callbacks 0
mr_equal requests_submitted 0
#Verify no callbacks or dmaap messages has been sent
cr_equal received_callbacks 0
mr_equal requests_submitted 0
@@
-187,7
+189,7
@@
sim_equal ricsim_g1_1 num_instances 0
api_get_service_ids 200
deviation "TR18 Agents sends callback with empty body"
api_get_service_ids 200
deviation "TR18 Agents sends callback with empty body"
-cr_equal received_callbacks
0
+cr_equal received_callbacks
4
mr_equal requests_submitted 0
check_policy_agent_logs
mr_equal requests_submitted 0
check_policy_agent_logs