diff options
author | Toine Siebelink <toine.siebelink@est.tech> | 2023-12-13 09:56:49 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2023-12-13 09:56:49 +0000 |
commit | 7e94b26a666907cc97d692b8dda8364bb0a0ef45 (patch) | |
tree | 6ca90a5d54d5a53c16ab32a6f097d412dac2c0c1 /csit/tests/cps-data-operations/cps-data-operations.robot | |
parent | a72a36a338b8c6901e02742af8766baea57b0428 (diff) | |
parent | 14d37304d8b83efc099ba19d6f3e7d5d53fead29 (diff) |
Merge "Clean up CSIT Test"
Diffstat (limited to 'csit/tests/cps-data-operations/cps-data-operations.robot')
-rw-r--r-- | csit/tests/cps-data-operations/cps-data-operations.robot | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/csit/tests/cps-data-operations/cps-data-operations.robot b/csit/tests/cps-data-operations/cps-data-operations.robot index 9ede0f25c7..d0206d19b1 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 |