Skip to content

Remove skip_traffic_test fixture in acl tests#15366

Merged
wangxin merged 2 commits intosonic-net:masterfrom
xwjiang-ms:remove_acl_skip_traffic_test_fixture
Nov 7, 2024
Merged

Remove skip_traffic_test fixture in acl tests#15366
wangxin merged 2 commits intosonic-net:masterfrom
xwjiang-ms:remove_acl_skip_traffic_test_fixture

Conversation

@xwjiang-ms
Copy link
Contributor

Description of PR

Summary:
Fixes # (issue)

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405

Approach

What is the motivation for this PR?

Currently we are using conditional mark to add marker, then use pytest hook to redirect testutils.verify function to a function always return True to skip traffic test. With this change, the skip_traffic_test fixture is no longer needed in test cases, streamlining the test code and improving clarity.

How did you do it?

Remove skip_traffic_test in testcases

How did you verify/test it?

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

@wangxin wangxin merged commit 20a1958 into sonic-net:master Nov 7, 2024
@xwjiang-ms xwjiang-ms deleted the remove_acl_skip_traffic_test_fixture branch November 7, 2024 05:32
veronica-arista pushed a commit to veronica-arista/sonic-mgmt that referenced this pull request Nov 7, 2024
What is the motivation for this PR?
Currently we are using conditional mark to add marker, then use pytest hook to redirect testutils.verify function to a function always return True to skip traffic test. With this change, the skip_traffic_test fixture is no longer needed in test cases, streamlining the test code and improving clarity.

How did you do it?
Remove skip_traffic_test in testcases

How did you verify/test it?
sreejithsreekumaran pushed a commit to sreejithsreekumaran/sonic-mgmt that referenced this pull request Nov 15, 2024
What is the motivation for this PR?
Currently we are using conditional mark to add marker, then use pytest hook to redirect testutils.verify function to a function always return True to skip traffic test. With this change, the skip_traffic_test fixture is no longer needed in test cases, streamlining the test code and improving clarity.

How did you do it?
Remove skip_traffic_test in testcases

How did you verify/test it?
yutongzhang-microsoft pushed a commit to yutongzhang-microsoft/sonic-mgmt that referenced this pull request Nov 21, 2024
What is the motivation for this PR?
Currently we are using conditional mark to add marker, then use pytest hook to redirect testutils.verify function to a function always return True to skip traffic test. With this change, the skip_traffic_test fixture is no longer needed in test cases, streamlining the test code and improving clarity.

How did you do it?
Remove skip_traffic_test in testcases

How did you verify/test it?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants