Skip to content

[action] [PR:13063] refactor: refactor bfd static route tests#13183

Merged
mssonicbld merged 1 commit intosonic-net:202405from
mssonicbld:cherry/202405/13063
Jun 7, 2024
Merged

[action] [PR:13063] refactor: refactor bfd static route tests#13183
mssonicbld merged 1 commit intosonic-net:202405from
mssonicbld:cherry/202405/13063

Conversation

@mssonicbld
Copy link
Copy Markdown
Collaborator

Description of PR

This is a follow-up PR for #12995. This PR includes more code refactoring on bfd/test_bfd_static_route.py, such as parametrizing IPv4 and IPv6 for each test, moving static methods out of BfdBase class, removing unnecessary fixtures and etc.

Summary:
Fixes # (issue) Microsoft ADO 27749982

Type of change

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

Back port request

  • 201911
  • 202012
  • 202205
  • 202305
  • 202311

Approach

What is the motivation for this PR?

To refactor the test cases in bfd/test_bfd_static_route.py to make it more readable and efficient

How did you do it?

How did you verify/test it?

I have run all test cases in this file in a T2 chassis device and can confirm they all passed.

Any platform specific information?

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

Documentation

This is a follow-up PR for sonic-net#12995. This PR includes more code refactoring on bfd/test_bfd_static_route.py, such as parametrizing IPv4 and IPv6 for each test, moving static methods out of BfdBase class, removing unnecessary fixtures and etc.
@mssonicbld
Copy link
Copy Markdown
Collaborator Author

Original PR: #13063

@mssonicbld mssonicbld merged commit 58eb43f into sonic-net:202405 Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants