Skip to content
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

[action] [PR:14855] [BGP TSA/TSB] Update tests execute TSA/TSB on sup cards, refactor test py files slightly, cover test gaps, bug fixes #15093

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

mssonicbld
Copy link
Collaborator

Description of PR

Summary:
Fixes #14843 & Fixes #14850 & Fixes #14903

Update how tests execute TSA/TSB on chassis supervisor cards, additionally light refactor of test_traffic_shift_sup.py to be cleaner.

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?

To fix bug causing exceptions when running TSA/TSB on supervisor cards in test_traffic_shift_sup.py and test_startup_tsa_tsb_service.py and also while there refactor test_traffic_shift_sup.py to be cleaner.

How did you do it?

Change TSA/TSB to be run directly through suphost and not through function that is only required for rexec. See changes for other refactors.

How did you verify/test it?

Ran tests on T2 testbed to see that they were running as expected, no more exceptions being raised.

Any platform specific information?

Platform agnostic

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

N/A

Documentation

N/A

…actor test py files slightly, cover test gaps, bug fixes (sonic-net#14855)

What is the motivation for this PR?
To fix bug causing exceptions when running TSA/TSB on supervisor cards in test_traffic_shift_sup.py and test_startup_tsa_tsb_service.py and also while there refactor test_traffic_shift_sup.py to be cleaner.

How did you do it?
Change TSA/TSB to be run directly through suphost and not through function that is only required for rexec. See changes for other refactors.

How did you verify/test it?
Ran tests on T2 testbed to see that they were running as expected, no more exceptions being raised.

Signed-off-by: javiertan@microsoft.com
Signed-off-by: Javier Tan javiertan@microsoft.com
@mssonicbld
Copy link
Collaborator Author

Original PR: #14855

@mssonicbld mssonicbld merged commit 7ed7552 into sonic-net:202405 Oct 23, 2024
13 checks passed
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