Increase pnf registrate wait timeout 94/143394/1 master
authorFiete Ostkamp <fiete.ostkamp@telekom.de>
Thu, 26 Feb 2026 09:14:07 +0000 (10:14 +0100)
committerFiete Ostkamp <fiete.ostkamp@telekom.de>
Thu, 26 Feb 2026 09:15:10 +0000 (10:15 +0100)
- increase wait time for the pnf registrate test to wait for the SO service instantiation from 3 to 6 minutes

Issue-ID: SO-4246
Change-Id: I58b51d3c239e9092657aa8b59413fecf57a637f6
Signed-off-by: Fiete Ostkamp <fiete.ostkamp@telekom.de>
robot/resources/policy_interface.robot
robot/resources/test_templates/pnf_orchestration_test_template.robot

index 2296265..94f9cc8 100644 (file)
@@ -257,7 +257,7 @@ Run Policy Deployment Verification
      ${session}=    Create Session      policy  ${GLOBAL_POLICY_SERVER_PROTOCOL}://${POLICY_PAP_IP}:${GLOBAL_POLICY_HEALTHCHECK_PORT}   auth=${auth}
      Log    Creating session ${GLOBAL_POLICY_SERVER_PROTOCOL}://${POLICY_PAP_IP}:${GLOBAL_POLICY_HEALTHCHECK_PORT}
      ${headers}=  Create Dictionary     Accept=application/json    Content-Type=application/json
      ${session}=    Create Session      policy  ${GLOBAL_POLICY_SERVER_PROTOCOL}://${POLICY_PAP_IP}:${GLOBAL_POLICY_HEALTHCHECK_PORT}   auth=${auth}
      Log    Creating session ${GLOBAL_POLICY_SERVER_PROTOCOL}://${POLICY_PAP_IP}:${GLOBAL_POLICY_HEALTHCHECK_PORT}
      ${headers}=  Create Dictionary     Accept=application/json    Content-Type=application/json
-     ${resp_deployed_policy}=    GET On Session    policy    ${POLICY_PAP_STATUS_QUERY}    headers=${headers}
+     ${resp_deployed_policy}=    GET On Session    policy    ${POLICY_PAP_STATUS_QUERY}    headers=${headers}    expected_status=any
      Log    Received response from policy status ${resp_deployed_policy.text}
      Return From Keyword If   ${resp_deployed_policy.status_code}==404
      Should Be Equal As Strings   ${resp_deployed_policy.status_code}   200
      Log    Received response from policy status ${resp_deployed_policy.text}
      Return From Keyword If   ${resp_deployed_policy.status_code}==404
      Should Be Equal As Strings   ${resp_deployed_policy.status_code}   200
index c46e74b..94cc71d 100644 (file)
@@ -71,8 +71,8 @@ Orchestrate PNF Building Block Flow
     Set To Dictionary  ${arguments}  productFamilyId  ${productFamilyId}
     Set To Dictionary  ${arguments}  nf_instance_name  ${pnf_correlation_id}
     ${request_id}  ${service_instance_id}=   Create PNF Service Using GR Api   ${arguments}
     Set To Dictionary  ${arguments}  productFamilyId  ${productFamilyId}
     Set To Dictionary  ${arguments}  nf_instance_name  ${pnf_correlation_id}
     ${request_id}  ${service_instance_id}=   Create PNF Service Using GR Api   ${arguments}
-    Wait Until Keyword Succeeds   180  20s    Validate Service Instance    ${service_instance_id}    ${service}    ${full_customer_name}
-    Wait Until Keyword Succeeds   180  20s    Check PNF orchestration status in A&AI  ${pnf_correlation_id}  Register
+    Wait Until Keyword Succeeds   360  20s    Validate Service Instance    ${service_instance_id}    ${service}    ${full_customer_name}
+    Wait Until Keyword Succeeds   360  20s    Check PNF orchestration status in A&AI  ${pnf_correlation_id}  Register
     [Return]     ${service_instance_id}  /onap/so/infra/orchestrationRequests/v7/${request_id}  ${full_customer_name}
 
 
     [Return]     ${service_instance_id}  /onap/so/infra/orchestrationRequests/v7/${request_id}  ${full_customer_name}
 
 
@@ -82,4 +82,4 @@ Create Customer For PNF
     [Arguments]    ${customer_name}    ${customer_id}    ${customer_type}    ${service_type}    ${cloud_owner}    ${tenant_id}   ${cloud_region_id}
     Create Service If Not Exists    ${service_type}
     ${resp}=    Create Customer    ${customer_name}    ${customer_id}    ${customer_type}    ${service_type}   ${cloud_owner}  ${cloud_region_id}    ${tenant_id}
     [Arguments]    ${customer_name}    ${customer_id}    ${customer_type}    ${service_type}    ${cloud_owner}    ${tenant_id}   ${cloud_region_id}
     Create Service If Not Exists    ${service_type}
     ${resp}=    Create Customer    ${customer_name}    ${customer_id}    ${customer_type}    ${service_type}   ${cloud_owner}  ${cloud_region_id}    ${tenant_id}
-       Should Be Equal As Strings      ${resp}         201
\ No newline at end of file
+       Should Be Equal As Strings      ${resp}         201