summaryrefslogtreecommitdiffstats
path: root/csit/tests/cps-data-sync/cps-data-sync.robot
diff options
context:
space:
mode:
authorSourabh Sourabh <sourabh.sourabh@est.tech>2024-08-16 10:59:38 +0000
committerGerrit Code Review <gerrit@onap.org>2024-08-16 10:59:38 +0000
commit81e399e6cb0cfdfe73d4e830796c1fc2259fa434 (patch)
tree16e0c32796e73200147a9573eff5d930727425cb /csit/tests/cps-data-sync/cps-data-sync.robot
parent1aa2f5a69d7c691c7dce780c776e9ef02c5ca621 (diff)
parenta4a559133591b5204ec0c16f61da9d45f139390d (diff)
Merge "Rearrange CSIT test order"
Diffstat (limited to 'csit/tests/cps-data-sync/cps-data-sync.robot')
-rw-r--r--csit/tests/cps-data-sync/cps-data-sync.robot14
1 files changed, 0 insertions, 14 deletions
diff --git a/csit/tests/cps-data-sync/cps-data-sync.robot b/csit/tests/cps-data-sync/cps-data-sync.robot
index 6fc1876421..b8ba479e7c 100644
--- a/csit/tests/cps-data-sync/cps-data-sync.robot
+++ b/csit/tests/cps-data-sync/cps-data-sync.robot
@@ -35,11 +35,6 @@ ${ncmpBasePath} /ncmp
*** Test Cases ***
-Check if ietfYang-PNFDemo is READY
- ${uri}= Set Variable ${ncmpBasePath}/v1/ch/ietfYang-PNFDemo
- ${headers}= Create Dictionary Authorization=${auth}
- Wait Until Keyword Succeeds 20sec 200ms Is CM Handle READY ${uri} ${headers} ietfYang-PNFDemo
-
Operational state goes to UNSYNCHRONIZED when data sync (flag) is enabled
${uri}= Set Variable ${ncmpBasePath}/v1/ch/ietfYang-PNFDemo/data-sync
${params}= Create Dictionary dataSyncEnabled=true
@@ -57,15 +52,6 @@ Operational state goes to SYNCHRONIZED after sometime when data sync (flag) is e
Wait Until Keyword Succeeds 40sec 100ms Is CM Handle State SYNCHRONIZED ${uri} ${headers}
*** Keywords ***
-Is CM Handle READY
- [Arguments] ${uri} ${headers} ${cmHandle}
- ${response}= GET On Session CPS_URL ${uri} headers=${headers}
- Should Be Equal As Strings ${response.status_code} 200
- FOR ${item} IN ${response.json()}
- IF "${item['cmHandle']}" == "${cmHandle}"
- Should Be Equal As Strings ${item['state']['cmHandleState']} READY
- END
- END
Is CM Handle State SYNCHRONIZED
[Arguments] ${uri} ${headers}