Commit e66ace92 authored by Elian Kraja's avatar Elian Kraja
Browse files

Fix notification handler on the ncm loop

parent 7ef693fc
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -121,13 +121,14 @@ Verify Notification Handler
    
    
Wait Until VNF Instantiated
Wait Until VNF Instantiated
    [Arguments]    ${vnfLcmOpOccId}
    [Arguments]    ${vnfLcmOpOccId}
    ${req}=    Start Notification Handler     VnfLcmOperationOccurrenceNotification    ${callback_endpoint}
    :FOR    ${i}    IN RANGE    20
    :FOR    ${i}    IN RANGE    20
    \    ${req}=    Start Notification Handler     VnfLcmOperationOccurrenceNotification    ${callback_endpoint}
    \    Sleep    10s
    \    Sleep    10s
    \    Verify Notification Handler     ${req}
    \    Verify Mock Expectation     ${req}
    \    Get  ${vnfLcmOpOccId}
    \    Get  ${vnfLcmOpOccId}
    \    ${body}=    Output    response body
    \    ${body}=    Output    response body
    \    Exit For Loop If    ${body.operationState} == COMPLETED
    \    Exit For Loop If    ${body.operationState} == COMPLETED
	Clear Requests  ${callback_endpoint}


    
    
    
    
 No newline at end of file