Fix csit for sync event changes in Acmr 57/142457/1
authorrameshiyer27 <ramesh.murugan.iyer@est.tech>
Wed, 19 Nov 2025 09:52:23 +0000 (09:52 +0000)
committerrameshiyer27 <ramesh.murugan.iyer@est.tech>
Wed, 19 Nov 2025 09:52:23 +0000 (09:52 +0000)
Acmr sync event have been introduced to delete the instance from
participant cache if no elements are associated after the migration.

Updating the test accordingly to check the empty response from sim-ppnt.

Issue-ID: POLICY-5488
Change-Id: I71142daf574f1b59c657a24465c51ec33d5949ae
Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech>
csit/resources/tests/clamp-common.robot

index 3c1f9b2..2e10e73 100644 (file)
@@ -158,8 +158,7 @@ VerifyRemovedElementsSim
     ${auth}=    ParticipantAuth
     ${resp}=    MakeGetRequest  participant  ${HTTP_PARTICIPANT_SIM2_IP}  /onap/policy/simparticipant/v2/instances/${theInstanceId}  ${auth}
     Should Be Equal As Strings    ${resp.status_code}     200
-    ${respstring}   Convert To String   ${resp.json()}
-    Should Not Match Regexp  ${respstring}  Sim_Sink2AutomationCompositionElement
+    Should Be Empty    ${resp.text}
 
 VerifyRollbackElementsSim
     [Arguments]  ${theInstanceId}