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-sync/cps-data-sync.robot | |
parent | a72a36a338b8c6901e02742af8766baea57b0428 (diff) | |
parent | 14d37304d8b83efc099ba19d6f3e7d5d53fead29 (diff) |
Merge "Clean up CSIT Test"
Diffstat (limited to 'csit/tests/cps-data-sync/cps-data-sync.robot')
-rw-r--r-- | csit/tests/cps-data-sync/cps-data-sync.robot | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/csit/tests/cps-data-sync/cps-data-sync.robot b/csit/tests/cps-data-sync/cps-data-sync.robot index d37125b150..e96e10a42f 100644 --- a/csit/tests/cps-data-sync/cps-data-sync.robot +++ b/csit/tests/cps-data-sync/cps-data-sync.robot @@ -43,13 +43,11 @@ Operational state goes to UNSYNCHRONIZED when data sync (flag) is enabled ${verifyUri}= Set Variable ${ncmpBasePath}/v1/ch/PNFDemo/state ${verifyHeaders}= Create Dictionary Authorization=${auth} ${verifyResponse}= GET On Session CPS_URL ${verifyUri} headers=${verifyHeaders} - ${verifyResponseJson}= Set Variable ${verifyResponse.json()['state']['dataSyncState']['operational']} - Should Be Equal As Strings ${verifyResponseJson['syncState']} UNSYNCHRONIZED + Should Be Equal As Strings ${verifyResponse.json()['state']['dataSyncState']['operational']['syncState']} UNSYNCHRONIZED Sleep 5 Operational state goes to SYNCHRONIZED after sometime when data sync (flag) is enabled ${uri}= Set Variable ${ncmpBasePath}/v1/ch/PNFDemo/state ${headers}= Create Dictionary Authorization=${auth} ${response}= GET On Session CPS_URL ${uri} headers=${headers} - ${responseJson}= Set Variable ${response.json()['state']['dataSyncState']['operational']} - Should Be Equal As Strings ${responseJson['syncState']} SYNCHRONIZED
\ No newline at end of file + Should Be Equal As Strings ${response.json()['state']['dataSyncState']['operational']['syncState']} SYNCHRONIZED
\ No newline at end of file |