[pfcwd] Fix test_pfcwd_mmu_change IndexError #4465
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Signed-off-by: Andrii-Yosafat Lozovyi andrii-yosafatx.lozovyi@intel.com
Description of PR
Summary: test_pfcwd_mmu_change fails with IndexError
Looks like after PR - 1626 values in DB for QOS has changed.
Example of change on different Sonic images below:
This PR should solve this issue.
Fixes # (issue)
Type of change
Back port request
Approach
What is the motivation for this PR?
Update test_pfcwd_mmu_change due to latest changes in PR - 1626
How did you do it?
How did you verify/test it?
Run TC on
SONiC.master.42584-dirty-20211011.014318
andSONiC.master.31701-dirty-20210827.084520
Any platform specific information?
SONiC Software Version: SONiC.master.42584-dirty-20211011.014318
Distribution: Debian 10.11
Kernel: 4.19.0-12-2-amd64
Build commit: 32e73b087
Build date: Mon Oct 11 08:05:15 UTC 2021
Built by: AzDevOps@sonic-build-workers-000S2C
Platform: x86_64-arista_7170_64c
HwSKU: Arista-7170-64C
Supported testbed topology if it's a new test case?
Documentation