Revert "Do not fail on ODLPARENT-152"
[integration/test.git] / csit / libraries / KarafKeywords.robot
index e172b5dd9b06fab196c80b4cfdcc9cdc934653b7..d562a0c5c913b2842ec4f99959554b1eed4770a8 100644 (file)
@@ -258,8 +258,6 @@ Verify Exception Logging In Controller
     ${exceptions}=    Get Karaf Log Type From Test Start    ${controller_ip}    ${test_name}    Exception
     @{log_lines}=    Split String    ${exceptions}    ${\n}
     ${num_log_entries}    Get Length    ${log_lines}
-    # https://jira.opendaylight.org/browse/ODLPARENT-152
-    Run Keyword And Return If    ${num_log_entries} == ${2}    Ignore ODLPARENT-152    @{log_lines}
     Return From Keyword If    ${num_log_entries} == ${0}    No Exceptions found.
     : FOR    ${log_message}    IN    @{log_lines}
     \    Check Against White List    ${log_message}    ${exceptions_white_list}
@@ -276,13 +274,6 @@ Check Against White List
     \    Return From Keyword If    "${exception}" in "${exception_line}"    Exceptions found, but whitelisted: ${\n}${exception_line}${\n}
     Fail    Exceptions Found: ${\n}${exception_line}${\n}
 
-Ignore ODLPARENT-152
-    [Arguments]    @{log_lines}
-    [Documentation]    This will ignore exceptions in @{log_lines} if they match the Exception pattern found in the list
-    ...    variable @{ODLPARENT_152}. Everything else will result in this keyword Failing.
-    Return From Keyword If    "@{ODLPARENT_152}[0]" in "@{log_lines}[0]" and "@{ODLPARENT_152}[1]" in "@{log_lines}[1]"
-    Fail    Exceptions found and not in the whitelist to ignore
-
 Wait_For_Karaf_Log
     [Arguments]    ${message}    ${timeout}=60    ${member_index}=${1}
     [Documentation]    Read karaf logs until message appear