From 20e2e8a3bb34990901d1367bcb9caa5b609136ad Mon Sep 17 00:00:00 2001 From: jason Date: Tue, 21 Jun 2016 11:22:39 +0800 Subject: [PATCH] OCPPLUGIN made some fixes in API, so test suites should also modify input data to make it work. OCPPLUGIN patch: https://git.opendaylight.org/gerrit/#/c/40422/ Change-Id: Ia4a171d4252ad4aef8b3e16352c75f70d2c73317 Signed-off-by: jason --- csit/suites/ocpplugin/basic/010__ocp_get.robot | 2 +- csit/suites/ocpplugin/scalability/010__ocp_scalability.robot | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/csit/suites/ocpplugin/basic/010__ocp_get.robot b/csit/suites/ocpplugin/basic/010__ocp_get.robot index 69a91e6270..443d150317 100755 --- a/csit/suites/ocpplugin/basic/010__ocp_get.robot +++ b/csit/suites/ocpplugin/basic/010__ocp_get.robot @@ -26,6 +26,6 @@ Check if node exist Get param from emulator [Documentation] OCPPLUGIN get param [Tags] OCPPLUGIN get - ${resp} Post Request session ${REST_GET_PARAM} data={"input":{"nodeId":"ocp:TST-100","obj":[{"id":"ALL","param":[{"name":"ALL"}]}]}} + ${resp} Post Request session ${REST_GET_PARAM} data={"input":{"nodeId":"ocp:TST-100","objId":"ALL","paramName":"ALL"}} Should Be Equal As Strings ${resp.status_code} 200 Stop Emulator And Exit ${mininet_conn_id} diff --git a/csit/suites/ocpplugin/scalability/010__ocp_scalability.robot b/csit/suites/ocpplugin/scalability/010__ocp_scalability.robot index 8cec48648f..140864957c 100755 --- a/csit/suites/ocpplugin/scalability/010__ocp_scalability.robot +++ b/csit/suites/ocpplugin/scalability/010__ocp_scalability.robot @@ -33,6 +33,6 @@ Get param from emulators [Tags] OCPPLUGIN get ${NODE_AMOUNT}= Convert To Integer ${NODE_AMOUNT} : FOR ${NODE_NUM} IN RANGE 1 ${NODE_AMOUNT+1} - \ ${resp} Post Request session ${REST_GET_PARAM} data={"input":{"nodeId":"ocp:TST-${NODE_NUM}","obj":[{"id":"ALL","param":[{"name":"ALL"}]}]}} + \ ${resp} Post Request session ${REST_GET_PARAM} data={"input":{"nodeId":"ocp:TST-${NODE_NUM}","objId":"ALL","paramName":"ALL"}} \ Should Be Equal As Strings ${resp.status_code} 200 Stop Emulator And Exit ${mininet_conn_id} \ No newline at end of file -- 2.36.6