From: garciadeblas Date: Sun, 18 Apr 2021 21:08:17 +0000 (+0200) Subject: Fix failure return code when deleting VNFD fails X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F11%2F10711%2F1;p=osm%2Ftests.git Fix failure return code when deleting VNFD fails Change-Id: I8ad00b2ae34248dd2649d0fbc66f9af3b004eea4 Signed-off-by: garciadeblas --- diff --git a/robot-systest/lib/vnfd_lib.robot b/robot-systest/lib/vnfd_lib.robot index 1d57598..f1cc95e 100644 --- a/robot-systest/lib/vnfd_lib.robot +++ b/robot-systest/lib/vnfd_lib.robot @@ -28,7 +28,7 @@ Library String *** Variables *** ${success_return_code} 0 -${failure_return_code} 0 +${failure_return_code} 1 ${delete_max_wait_time} 1min ${delete_pol_time} 15sec @@ -118,7 +118,7 @@ Assert Failure Delete VNFD ${rc} ${stdout}= Run and Return RC and Output osm vnfpkg-delete ${vnfd_id} log ${stdout} Should Be Equal As Integers ${rc} ${failure_return_code} - Should Contain ${stdout} 409 msg=Expected Conflict values=False + Should Contain ${stdout} 409 msg=Expected Conflict values=False WAIT UNTIL KEYWORD SUCCEEDS ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} True