Fix peltool automation testcase
Changes:
- Modified testcase
Tested:
- Ran the testcase from sandbox successfully.
Change-Id: Ia5d479694938c30a936e83d095444e790706f614
Signed-off-by: manashsarma <manashsarma@in.ibm.com>
diff --git a/openpower/pel/test_bmc_pel.robot b/openpower/pel/test_bmc_pel.robot
index 5ba76a6..3c0ae78 100644
--- a/openpower/pel/test_bmc_pel.robot
+++ b/openpower/pel/test_bmc_pel.robot
@@ -576,8 +576,9 @@
[Tags] Verify_Old_Logs_Are_Deleted_When_Count_Crosses_Max
Redfish Purge Event Log
- # Create 3000 error logs.
- FOR ${count} IN RANGE ${3000}
+ # One information log is created after purging error log and additional 2999 are created.
+ # In total, 3000 error logs are available.
+ FOR ${count} IN RANGE 1 ${3000}
BMC Execute Command ${CMD_PREDICTIVE_ERROR}
END