teardown improved with linking bugs if test failed for bgp multipath suite 51/46051/2
authorPeter Gubka <pgubka@cisco.com>
Thu, 22 Sep 2016 12:22:52 +0000 (14:22 +0200)
committerVratko Polák <vrpolak@cisco.com>
Mon, 26 Sep 2016 17:39:13 +0000 (17:39 +0000)
Change-Id: If5b309a900ac3f5aac8fd9b5fa060dd5fc4ecf1c
Signed-off-by: Peter Gubka <pgubka@cisco.com>
csit/suites/bgpcep/bgpfunct/020_bgp_functional_multipath.robot

index 9406b91230937f45560ee7648799fe3583c5b869..310bc5993a29cca5b8748a99230491576e517894 100644 (file)
@@ -60,6 +60,7 @@ Reconfigure_ODL_To_Accept_Connection
 
 Odl Allpaths Exa SendReceived
     [Documentation]    all-paths selected policy selected
+    [Tags]    critical
     [Setup]    Configure_Path_Selection_And_App_Peer_And_Connect_Peer    ${ALLPATHS_SELM}    ${ADDPATHCAP_SR}
     Log_Loc_Rib_Operational
     BuiltIn.Wait_Until_Keyword_Succeeds    6x    2s    Verify_Expected_Update_Count    ${PATH_ID_LIST_LEN}
@@ -67,6 +68,7 @@ Odl Allpaths Exa SendReceived
 
 Odl Npaths Exa SendReceived
     [Documentation]    n-paths policy selected on odl
+    [Tags]    critical
     [Setup]    Configure_Path_Selection_And_App_Peer_And_Connect_Peer    ${NPATHS_SELM}    ${ADDPATHCAP_SR}
     Log_Loc_Rib_Operational
     BuiltIn.Wait_Until_Keyword_Succeeds    6x    2s    Verify_Expected_Update_Count    ${N_PATHS_VALUE}
@@ -165,6 +167,7 @@ Stop_Tool
 Remove_App_Peer_Configuration_And_Stop_Tool
     Deconfigure_App_Peer
     Stop_Tool
+    SetupUtils.Teardown_Test_Show_Bugs_If_Test_Failed
 
 Verify_Expected_Update_Count
     [Arguments]    ${exp_count}