-
Notifications
You must be signed in to change notification settings - Fork 31
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
refactor(anta.tests): Nicer result failure messages interface(part -1) test module #1045
base: main
Are you sure you want to change the base?
refactor(anta.tests): Nicer result failure messages interface(part -1) test module #1045
Conversation
CodSpeed Performance ReportMerging #1045 will not alter performanceComparing Summary
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
@@ -653,7 +656,7 @@ | |||
"inputs": {"threshold": 70.0}, | |||
"expected": { | |||
"result": "failure", | |||
"messages": ["Interface Ethernet1/1 or one of its member interfaces is not Full-Duplex. VerifyInterfaceUtilization has not been implemented."], | |||
"messages": ["Interface: Ethernet1/1 - Interface utilization has not been implemented"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should keep the mention about is not full-duplex and the test name.
"messages": [ | ||
"Interface: Port-Channel31 MemberInterface: Ethernet3/1 - Not Full-Duplex - Actual: duplexHalf", | ||
"Interface: Port-Channel31 MemberInterface: Ethernet4/1 - Not Full-Duplex - Actual: duplexHalf", | ||
], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment as above. I think for this specific use case it's fine to have a single failure message like before.
Conflicts have been resolved. A maintainer will review the pull request shortly. |
|
Nicer result failure messages Interface test module following testcases are covers.
Description
Fixes #587
Checklist:
pre-commit run
)tox -e testenv
)