-
Notifications
You must be signed in to change notification settings - Fork 738
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
Add pfcwd interval config tests #4811
Conversation
cmd = "sudo pfcwd interval {}".format(value) | ||
else: | ||
cmd = "sonic-db-cli CONFIG_DB del \PFC_WD\GLOBAL\POLL_INTERVAL" | ||
|
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.
Seems we didn't run the cmd?
value: expected value of POLL_INTERVAL | ||
""" | ||
def _confirm_value_in_flex_counter_db(): | ||
poll_interval = duthost.shell('redis-cli -n 5 hget FLEX_COUNTER_GROUP_TABLE:PFC_WD POLL_INTERVAL')["stdout"] |
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.
Hi @isabelmsft , |
Hi @congh-nvidia , the pfcwd config was set by default on the DUTs I previously tested with, but thanks for asking- I did find that not all DUTs have this set by default. So I opened a new PR which configures pfcwd in the test: #5662 |
Description of PR
Summary:
This PR will remain in draft mode until YANG model validation errors are resolved. Presently, the test case only runs successfully when the following YANG models are manually removed:
sonic-bgp-neighbor.yang
sonic-device_metadata.yang
sonic-feature.yang
sonic-flex_counter.yang
sonic-scheduler.yang
sonic-queue.yang
sonic-buffer-port-egress-profile-list.yang
sonic-buffer-port-ingress-profile-list.yang
Type of change
Back port request
Approach
What is the motivation for this PR?
Add pfcwd poll interval config tests
End to End test support for Generic Updater apply-patch
How did you do it?
How did you verify/test it?
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation