Add SNMP suite teardown to clean up logs and dumps
Changes:
- Added keyword directive for suite teardown
Tested:
Ran succesfully redfish/events/test_bmc_snmp_trap.robot
Change-Id: I7df8a7980a6cad8765254270d9abb578691c9e11
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/redfish/events/test_bmc_snmp_trap.robot b/redfish/events/test_bmc_snmp_trap.robot
index e163b96..96cddc7 100644
--- a/redfish/events/test_bmc_snmp_trap.robot
+++ b/redfish/events/test_bmc_snmp_trap.robot
@@ -11,8 +11,9 @@
Resource ../../lib/logging_utils.robot
-Test Teardown FFDC On Test Case Fail
-Suite Setup Suite Setup Execution
+Test Teardown FFDC On Test Case Fail
+Suite Setup Suite Setup Execution
+Suite Teardown Suite Teardown Execution
*** Test Cases ***
@@ -295,6 +296,13 @@
Valid Value SNMP_DEFAULT_PORT
+Suite Teardown Execution
+ [Documentation] Do suite Teardown execution.
+
+ Run Keyword And Ignore Error Redfish Purge Event Log
+ Run Keyword And Ignore Error Redfish Delete All BMC Dumps
+
+
Generate Error And Verify System Up Time
[Documentation] Generate error and verify system up time.