summaryrefslogtreecommitdiffstats
path: root/csit/tests/cps-data-operations
diff options
context:
space:
mode:
authorJvD_Ericsson <jeff.van.dam@est.tech>2023-12-07 15:33:09 +0000
committerJvD_Ericsson <jeff.van.dam@est.tech>2023-12-12 10:37:19 +0000
commit14d37304d8b83efc099ba19d6f3e7d5d53fead29 (patch)
tree5aac3fa33056f1d85be4b77a0c2809862569dee5 /csit/tests/cps-data-operations
parent93f2c3ff203d78d8cddae7878d16fe2f55661655 (diff)
Clean up CSIT Test
- Removed gitignore from csit and made it top level - Removed tabs from all files - Created sub-folder for cps-core and ncmp in the data folder - Deleted csit/data/postModuleRequestBody.json, was not used - Removed setting variable for most response.json() calls Issue-Id: CPS-734 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I32fd5b4f5a0132987a4684c336846b86df7b49e7
Diffstat (limited to 'csit/tests/cps-data-operations')
-rw-r--r--csit/tests/cps-data-operations/cps-data-operations.robot4
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