Update error log capping count
Fixes:
- High priority severity capping increased from 100 to 200
(refer: https://gerrit.openbmc-project.xyz/#/c/8325/).
- Keyword name changes.
Resolves openbmc/openbmc-test-automation#1184
Change-Id: I06d325039c166aa5c16b2b857f084dd7fe7fc438
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/tests/test_error_log.robot b/tests/test_error_log.robot
index c80624b..f978553 100644
--- a/tests/test_error_log.robot
+++ b/tests/test_error_log.robot
@@ -9,7 +9,7 @@
Resource ../lib/boot_utils.robot
Test Setup Test Setup Execution
-Test Teardown Post Test Case Execution
+Test Teardown Test Teardown Execution
Suite Teardown Delete Error Logs And Verify
*** Variables ***
@@ -335,12 +335,12 @@
[Tags] Verify_Error_Logs_Capping
Delete Error Logs And Verify
- ${cmd}= Set Variable
- ... for i in {1..101}; do /tmp/tarball/bin/logging-test -c AutoTestSimple;done
+ ${cmd}= Catenate for i in {1..201}; do /tmp/tarball/bin/logging-test -c
+ ... AutoTestSimple; done
Execute Command On BMC ${cmd}
${count}= Count Error Entries
- Run Keyword If ${count} > 100
- ... Fail Error logs created exceeded max capacity 100.
+ Run Keyword If ${count} > 200
+ ... Fail Error logs created exceeded max capacity 200.
*** Keywords ***
@@ -461,7 +461,7 @@
Install Debug Tarball On BMC ${DEBUG_TARBALL_PATH}
-Post Test Case Execution
+Test Teardown Execution
[Documentation] Do the post test teardown.
# 1. Capture FFDC on test failure.
# 2. Delete error logs.