From 42041bac145f3c0dd44c793d563023b1c025e0fa Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Sun, 18 Apr 2021 23:08:17 +0200 Subject: [PATCH] Fix failure return code when deleting VNFD fails Change-Id: I8ad00b2ae34248dd2649d0fbc66f9af3b004eea4 Signed-off-by: garciadeblas --- robot-systest/lib/vnfd_lib.robot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.25.1