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

Fix notification handler on the ncm loop

parent 7ef693fc
...@@ -121,13 +121,14 @@ Verify Notification Handler ...@@ -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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment