[dualtor] Remove acl-drop verification from mux_toggle testcase#4041
Merged
lguohan merged 3 commits intosonic-net:masterfrom Aug 14, 2021
Merged
[dualtor] Remove acl-drop verification from mux_toggle testcase#4041lguohan merged 3 commits intosonic-net:masterfrom
lguohan merged 3 commits intosonic-net:masterfrom
Conversation
|
This pull request introduces 1 alert and fixes 1 when merging c5e80a6 into f6b5a0c - view on LGTM.com new alerts:
fixed alerts:
|
gechiang
reviewed
Aug 13, 2021
| return int(data[itfs]['RX_DRP']) | ||
|
|
||
|
|
||
| def clear_portstat(dut): |
Contributor
There was a problem hiding this comment.
I understand this function was there before your change. I just don't see any call to it so perhaps can be removed as part of the code cleanup with this PR?
Contributor
Author
There was a problem hiding this comment.
You are right, this function was lying unused. Removed it now in latest commit. Thanks!
|
This pull request fixes 2 alerts when merging 84f06d5 into f6b5a0c - view on LGTM.com fixed alerts:
|
gechiang
approved these changes
Aug 13, 2021
|
This pull request fixes 2 alerts when merging 38eef9a into f6b5a0c - view on LGTM.com fixed alerts:
|
vmittal-msft
pushed a commit
to vmittal-msft/sonic-mgmt
that referenced
this pull request
Sep 28, 2021
…c-net#4041) Removed drop counter verification from the test as the counters will not be increased in this case.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description of PR
Summary: Remove verification of RX_DRP counters from test
test_standby_tor_upstream_mux_toggleFixes sonic-net/sonic-buildimage#8091
Type of change
Back port request
Approach
What is the motivation for this PR?
Related image change: sonic-net/sonic-buildimage#8383
Do not verify ACL RX_DRP as the counters will not be increased in this case.
How did you do it?
Removed drop counter verification from the test.
How did you verify/test it?
Tested on mocked dualtor and the older issue (failure to verify drops) is not seen anymore.
There is another CRM issue in this testcase, which will be handled in differerent issue/PR.
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation