Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Redfish/event/SNMP] test "Configure SNMP Manager On BMC With Out Of Range Port And Verify" and "Configure SNMP Manager On BMC With Empty Port And Verify" #2244

Open
Julia-Delta opened this issue Jun 3, 2024 · 0 comments

Comments

@Julia-Delta
Copy link

I have a question about out-of-range port and empty port.
The code designed that if port number was bigger than 65536, this port number will set the default value, like SNMP default port 162.

In the test case "Configure SNMP Manager On BMC With Out Of Range Port And Verify", a step is "Configure SNMP Manager Via Redfish ${SNMP_MGR1_IP} ${out_of_range_port} ${HTTP_BAD_REQUEST}" ask the return code be 400.
Actually I got the return code 201 because that the port number became 162, so I always test failed.
image

And in the test case "Configure SNMP Manager On BMC With Empty Port And Verify", the step is "Configure SNMP Manager Via Redfish ${SNMP_MGR1_IP} ${empty_port}", ask the return code be 201.
But I got the return code 400, not 201.
image

I though these two test case are simulier, why ask the different return code?
How should I to modify this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant