-
Notifications
You must be signed in to change notification settings - Fork 746
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
[macsec/test_dataplane]: Add macsec counter clear test #15257
[macsec/test_dataplane]: Add macsec counter clear test #15257
Conversation
@liamkearney-msft please resolve conflicts? Thanks. |
Signed-off-by: Liam Kearney <liamkearney@microsoft.com>
According to pytest docs it is bad practice to assert in fixtures, as failure causes teardown to not run Signed-off-by: Liam Kearney <liamkearney@microsoft.com>
Signed-off-by: Liam Kearney <liamkearney@microsoft.com>
6c9428c
to
46ae663
Compare
The pre-commit check detected issues in the files touched by this pull request. Detailed pre-commit check results: To run the pre-commit checks locally, you can follow below steps:
|
Signed-off-by: Liam Kearney <liamkearney@microsoft.com>
Signed-off-by: Liam Kearney <liamkearney@microsoft.com>
…y-msft/sonic-mgmt into pub-dev/macsec-clear-counters
@rlhui conflicts have been resolved |
@judyjoseph, please help signoff this change |
Signed-off-by: Liam Kearney <liamkearney@microsoft.com>
@liamkearney-msft could you add a test run PASS o/p result -- for the test_counters() and new test test_clear_counters() in the PR description? |
@judyjoseph I have run these tests locally and clear counters works on latest 20240510.17 build. test_counters is failing but its due to a regression unrelated to these changes. |
@liamkearney-msft Is the new test |
Hi @bingwang-ms , this test should be topo agnostic.
|
Description of PR
Add test for macsec counters clear command.
Summary:
Fixes #13347
Type of change
Back port request
Approach
What is the motivation for this PR?
Fix test gap by adding sonic-clear macsec tests
How did you verify/test it?
Ran locally on t2 chassis, test passes
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation