Redfish: Max user count was updated for redfish
Changes:
- As per discussion on discord max user count was updated for redfish
Tested:
- Ran All The Scripts Successfully
Change-Id: Ibb94100de2e03bf1b7162779aac6403d1aa082ae
Signed-off-by: ganesanb <ganesanb@ami.com>
diff --git a/redfish/account_service/test_ipmi_redfish_user.robot b/redfish/account_service/test_ipmi_redfish_user.robot
index fda4f8e..7f90dcb 100644
--- a/redfish/account_service/test_ipmi_redfish_user.robot
+++ b/redfish/account_service/test_ipmi_redfish_user.robot
@@ -18,11 +18,8 @@
${admin_level_priv} 4
${operator_level_priv} 3
${readonly_level_priv} 2
-# Refer: #openbmc/phosphor-user-manager/blob/master/user_mgr.hpp#L41
-# ipmiMaxUsers = 15; <-- IPMI
-# maxSystemUsers = 30; <-- Max system redfish account users allowed
${ipmi_max_num_users} ${15}
-${max_num_users} ${30}
+${max_num_users} ${15}
${empty_name_pattern} ^User Name\\s.*\\s:\\s$
** Test Cases **
@@ -231,7 +228,7 @@
@{username_list}= Create List
- # Create users to reach maximum users count (i.e. 30 users).
+ # Create users to reach maximum users count (i.e. 15 users).
FOR ${INDEX} IN RANGE ${current_user_count} ${max_num_users}
${random_username}= Generate Random String 8 [LETTERS]
Set To Dictionary ${payload} UserName ${random_username}