X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=csit%2Ftests%2Fcps-data-operations%2Fcps-data-operations.robot;h=d0206d19b1ea95cab982126bc667a9c293138bfe;hb=14d37304d8b83efc099ba19d6f3e7d5d53fead29;hp=9ede0f25c7390d9fa12ca1fee6e3c4f91accb9b6;hpb=93f2c3ff203d78d8cddae7878d16fe2f55661655;p=cps.git diff --git a/csit/tests/cps-data-operations/cps-data-operations.robot b/csit/tests/cps-data-operations/cps-data-operations.robot index 9ede0f25c..d0206d19b 100644 --- a/csit/tests/cps-data-operations/cps-data-operations.robot +++ b/csit/tests/cps-data-operations/cps-data-operations.robot @@ -42,11 +42,11 @@ ${newCmHandleRequestBody} {"dmiPlugin":"${dmipluginCsitStubUrl}"," NCMP Data Operation, forwarded to DMI, response on Client Topic ${uri}= Set Variable ${ncmpBasePath}/v1/data - ${dataOperationReqBody}= Get Binary File ${DATADIR}${/}dataOperationRequest.json + ${dataOperationReqBody}= Get Binary File ${DATADIR_CPS_CORE}${/}dataOperationRequest.json ${params}= Create Dictionary topic=${topic} ${headers}= Create Dictionary Content-Type=application/json Authorization=${auth} POST On Session CPS_URL ncmpInventory/v1/ch headers=${headers} data=${newCmHandleRequestBody} - Sleep 5 wait some time to get updated the cm handle state to READY + Sleep 8 wait some time to get updated the cm handle state to READY ${response}= POST On Session CPS_URL ${uri} params=${params} headers=${headers} data=${dataOperationReqBody} Set Global Variable ${expectedRequestId} ${response.json()}[requestId] Should Be Equal As Strings ${response.status_code} 200