Commit cf438da8 authored by Giacomo Bernini's avatar Giacomo Bernini
Browse files

[fix-test][SOL003][IC-tests][v5.2.1][11.3.1.16-18.1 Test-ID] fixed status check

parent 6476050b
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -365,6 +365,14 @@ VNF Change External Connectivity
    Check Operation Notification For    COMPLETED
    Check Postcondition VNF Change Ext Connectivity

VNF Change External Connectivity - will fail
    Send Change Ext Connectivity Request
    Check HTTP Response Status Code Is    202
    Check HTTP Response Header Contains    Location 
    Check Operation Occurrence Id existence
    Check Operation Notification For    STARTING
    Check Operation Notification For    PROCESSING

Send Change Ext Connectivity Request
    Log    Trying to change the external connectivity of a VNF instance.
    Set Headers  {"Accept":"${ACCEPT}"}  
@@ -967,7 +975,7 @@ Check VNF LCM operation is failed
    ${outputResponse}=    Output    response
    ${state}=    Set Variable    ${outputResponse['body']['instantiationState']}
    Log    Current operation state: ${state}
    Run Keyword If    "${state}" != "FAILED_TEMP"    AND    "${state}" != "FAILED"
    Run Keyword If    "${state}" != "FAILED_TEMP" and "${state}" != "FAILED"
    ...    Pass Execution If    True    Skipping test: Operation state must be failed but found ${state}
    Log    Operation resource state is failed as expected