From 67054db950c18569d5f10e463b4f96b8d2cc3079 Mon Sep 17 00:00:00 2001 From: luxin Date: Wed, 27 Sep 2017 16:41:49 +0800 Subject: Modify CSIT for vfc-resmanagement Change-Id: I3503304988b234ae0d9898df913dff3ebf025aeb Issue-Id:VFC-424 Signed-off-by: luxin --- test/csit/plans/vfc-nfvo-resmanagement/sanity-check/setup.sh | 2 +- test/csit/tests/vfc/nfvo-resmanagement/test.robot | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'test/csit') diff --git a/test/csit/plans/vfc-nfvo-resmanagement/sanity-check/setup.sh b/test/csit/plans/vfc-nfvo-resmanagement/sanity-check/setup.sh index a18562eb7..b0cec31a1 100644 --- a/test/csit/plans/vfc-nfvo-resmanagement/sanity-check/setup.sh +++ b/test/csit/plans/vfc-nfvo-resmanagement/sanity-check/setup.sh @@ -34,7 +34,7 @@ echo MSB_IP=${MSB_IP} # Start resmgr docker run -d --name vfc-resmanagement -e MSB_ADDR=${MSB_IP}:80 nexus3.onap.org:10001/onap/vfc/resmanagement RESMGR_IP=`get-instance-ip.sh vfc-resmanagement` -for i in {1..10}; do +for i in {1..20}; do curl -sS ${RESMGR_IP}:8480 && break echo sleep $i sleep $i diff --git a/test/csit/tests/vfc/nfvo-resmanagement/test.robot b/test/csit/tests/vfc/nfvo-resmanagement/test.robot index 526fb304e..2f2475535 100644 --- a/test/csit/tests/vfc/nfvo-resmanagement/test.robot +++ b/test/csit/tests/vfc/nfvo-resmanagement/test.robot @@ -1,4 +1,5 @@ *** settings *** +Resource ../../common.robot Library Collections Library RequestsLibrary Library simplejson @@ -20,4 +21,4 @@ SwaggerFuncTest List Should Contain Value ${return_ok_list} ${responese_code} ${response_json} json.loads ${resp.content} ${swagger_version}= Convert To String ${response_json['swagger']} - Should Be Equal ${swagger_version} 2.0 + Should Be Equal ${swagger_version} 2.0 \ No newline at end of file -- cgit 1.2.3-korg