Fix errorlog automation testcase
Changes: - Modified entry ID check for test case "Test Event
Entry Numbering Reset On Restart".
Tested: - Ran the testcase from sandbox successfully.
Change-Id: I78f644ca675dab9277e5c15bb964c2b43fbb7d98
Signed-off-by: manashsarma <manashsarma@in.ibm.com>
diff --git a/redfish/systems/eventlog/test_event_logging.robot b/redfish/systems/eventlog/test_event_logging.robot
index 5fadb34..d131b1b 100644
--- a/redfish/systems/eventlog/test_event_logging.robot
+++ b/redfish/systems/eventlog/test_event_logging.robot
@@ -127,7 +127,10 @@
Create Test PEL Log
${elogs}= Get Event Logs
- Should Be Equal ${elogs[0]["Id"]} 1 msg=Event log entry is not 1
+
+ # After issuing Redfish purge event log, there will be one informational error log
+ # in BMC with ID 1. Due to this the newly generated error log would have ID as 2.
+ Should Be Equal ${elogs[0]["Id"]} 2 msg=Event log entry is not 2
Test Event Log Persistency On Reboot