Closed generatz closed 2 years ago
@prkatti1 can u take a look
Thank you @generatz for the feedback.. will look into it..
Changes : https://gerrit.openbmc-project.xyz/c/openbmc/openbmc-test-automation/+/52701
update extra improvement along with it
In
security/test_bmc_connections.robot
the testcaseFlood Patch Without Auth Token And Check Stability Of BMC
is failing becauseShould Be Equal
is used to compare what it finds are types<class 'int'>
and<class 'str'>
. I've fixed that by instead usingShould Be Equal As Integers
.Secondly, it does not complete the desired
Login And Create User
after the last set of posts because the loop count is not correctly set. As a result, when using${iterations} = 100
(as I typically do for a smoke test) it will always pass.Additionally, I've slightly enhanced the output report to indicate where in the loop the errors occur, to facilitate debugging.
Finally, I also applied the changes above to
Flood Post Without Auth Token And Check Stability Of BMC
and similarly fixed the iteration value inTest Stability On Large Number Of Wrong Login Attempts To GUI
Patch file: