From 77cc65c6bf66063f290b037c59060d012e6ef492 Mon Sep 17 00:00:00 2001 From: Jamo Luhrsen Date: Thu, 1 Nov 2018 11:13:56 -0700 Subject: [PATCH] Fix failing sfc test case [0] broke a test case. The syntax was wrong and not using enough arguments. I only fixed the syntax and arguments. I have no idea if the functionality intended will work or not. [0] https://git.opendaylight.org/gerrit/#/c/77258 Change-Id: Iaad136bc88f12dbab474037954cf7d04909b0754 Signed-off-by: Jamo Luhrsen --- csit/libraries/SFC/SfcKeywords.robot | 4 ++-- .../sfc/SFC_Basic/070__sfc_rendered_service_paths.robot | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/csit/libraries/SFC/SfcKeywords.robot b/csit/libraries/SFC/SfcKeywords.robot index b8a54ee285..943ac7b479 100644 --- a/csit/libraries/SFC/SfcKeywords.robot +++ b/csit/libraries/SFC/SfcKeywords.robot @@ -32,7 +32,7 @@ Check Service Function Types Removed Check Empty Service Function Paths State [Documentation] Check that the service function paths state is empty after deleting SFPs - Utils.Check For Specific Number Of Elements At URI ${SERVICE_FUNCTION_PATHS_STATE_URI} service-function-path-state 0 + Utils.No Content From URI session ${SERVICE_FUNCTION_PATH_STATE_URI} Check Rendered Service Path Created [Arguments] ${sfp_name} @@ -43,7 +43,7 @@ Check Rendered Service Path Created Check Rendered Service Path Deleted [Arguments] ${sfp_name} [Documentation] Check that the Rendered Service Path is deleted - Utils.No Content From URI ${SERVICE_FUNCTION_PATH_STATE_URI}/${sfp_name} + Utils.No Content From URI session ${SERVICE_FUNCTION_PATH_STATE_URI}/${sfp_name} Get Rendered Service Path Name [Arguments] ${sfp_name} ${get_reverse}=False diff --git a/csit/suites/sfc/SFC_Basic/070__sfc_rendered_service_paths.robot b/csit/suites/sfc/SFC_Basic/070__sfc_rendered_service_paths.robot index 5b9cd03424..b6f8f3b28f 100644 --- a/csit/suites/sfc/SFC_Basic/070__sfc_rendered_service_paths.robot +++ b/csit/suites/sfc/SFC_Basic/070__sfc_rendered_service_paths.robot @@ -172,7 +172,7 @@ Clean Datastore After Tests Utils.Remove All Elements At URI ${SERVICE_NODES_URI} Utils.Remove All Elements At URI ${SERVICE_CHAINS_URI} Utils.Remove All Elements At URI ${SERVICE_SCHED_TYPES_URI} - Utils.Remove All Elements At URI ${SERVICE_FUNCTION_PATHS_URI} + Utils.Remove All Elements If Exist ${SERVICE_FUNCTION_PATHS_URI} BuiltIn.Wait Until Keyword Succeeds 60s 2s SfcKeywords.Check Empty Service Function Paths State *** Keywords *** -- 2.36.6