Added BUG ID for failed cases. 56/34256/2
authorpremnath <prem.annauniv@gmail.com>
Mon, 8 Feb 2016 12:45:21 +0000 (18:15 +0530)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 8 Feb 2016 19:43:31 +0000 (19:43 +0000)
Change-Id: I51bbf73c82ca63192101ff0f74b3816ef4febe2a
Signed-off-by: premnath <prem.annauniv@gmail.com>
csit/suites/tsdr/Cassandra/010_InterfaceMetrics.robot
csit/suites/tsdr/HBase/010_InterfaceMetrics.robot

index 26909df9b9de06fad8fa923479257d2c4438bed8..2a24704276e5ba22d29ef9afb0f23b54c9295c12 100644 (file)
@@ -9,6 +9,7 @@ Library           ../../../libraries/Common.py
 Resource          ../../../libraries/KarafKeywords.robot
 Resource          ../../../libraries/TsdrUtils.robot
 Variables         ../../../variables/Variables.py
+Metadata          https://bugs.opendaylight.org/show_bug.cgi?id=5068    ${EMPTY}
 
 *** Variables ***
 @{INTERFACE_METRICS}    TransmittedPackets    TransmittedBytes    TransmitErrors    TransmitDrops    ReceivedPackets    ReceivedBytes    ReceiveOverRunError
@@ -37,7 +38,6 @@ Verification of TSDR Cassandra Feature Installation
     Wait Until Keyword Succeeds    5x    30 sec    Check Metric val     \\d{5}
 
 Storing Statistics from Openflow REST
-
     [Documentation]    Store openflow PortStats metrics using REST.
     : FOR    ${item}    IN    @{xpath}
     \    ${ret_val}=    Set Variable    -1
@@ -101,13 +101,10 @@ Verification of InterfaceMetrics-Attributes on Cassandra Client
     \    Append To List    ${tsdr_list}    ${ret_val1}
 
 Comparing Mertics
-
     [Documentation]    Compare openflow Interface metrics between data collected from openflow Plugin and TSDR
     : FOR    ${xml_val}    ${tsdr_val}    IN ZIP    ${xml_list}    ${tsdr_list}
     \    Compare Tsdr XML Metrics    ${xml_val}    ${tsdr_val}    20
 
-
-
 Verify Configuration Interval-change
     [Documentation]    Verify the TSDR Collection configuration changes
     ${session}=    Create Session    session    http://${ODL_SYSTEM_IP}:${RESTCONFPORT}    auth=${AUTH}    headers=${HEADERS}
@@ -117,9 +114,9 @@ Verify Configuration Interval-change
     Post TSDR Configuration Interval    180
     Verify TSDR Configuration Interval    180
     Delete All Sessions
+    [Teardown]    Report_Failure_Due_To_Bug    5068
 
 *** Keywords ***
-
 Verify TSDR Configuration Interval
     [Arguments]    ${interval}
     [Documentation]    Verify Configuration interval of TSDR Collection
index 6867db1adaad2f7ee36570e1b886949445c4d682..dd0cc131a881f059c707c49ed2020b9d36a5e938 100755 (executable)
@@ -10,6 +10,7 @@ Library           ../../../libraries/Common.py
 Resource          ../../../libraries/KarafKeywords.robot
 Resource          ../../../libraries/TsdrUtils.robot
 Variables         ../../../variables/Variables.py
+Metadata          https://bugs.opendaylight.org/show_bug.cgi?id=5068    ${EMPTY}
 
 *** Variables ***
 @{INTERFACE_METRICS}    TransmittedPackets    TransmittedBytes    TransmitErrors    TransmitDrops    ReceivedPackets    ReceivedBytes    ReceiveOverRunError
@@ -54,6 +55,7 @@ Verify Configuration Interval-change
     Verify TSDR Configuration Interval    200
     Post TSDR Configuration Interval    180
     Verify TSDR Configuration Interval    180
+    [Teardown]    Report_Failure_Due_To_Bug    5068
 
 *** Keywords ***
 Initialize the Tsdr Suite