Skip to content

[action] [PR:25768] Parametrize and fix test_show_platform_leak_commands#1302

Merged
mssonicbld merged 1 commit into
Azure:202608from
mssonicbld:cherry/msft-202608/25768
Jul 11, 2026
Merged

[action] [PR:25768] Parametrize and fix test_show_platform_leak_commands#1302
mssonicbld merged 1 commit into
Azure:202608from
mssonicbld:cherry/msft-202608/25768

Conversation

@mssonicbld

Copy link
Copy Markdown
Collaborator

Description of PR

This test parametrizes the test_show_platform_leak_commands and adds handling for the empty table cases

Summary:
Fixes sonic-net/sonic-mgmt#25761

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • New Test case
    • Skipped for non-supported platforms
  • Test case improvement

Back port request

  • 202311
  • 202405
  • 202411
  • 202505
  • 202511
  • 202512
  • 202605

Approach

What is the motivation for this PR?

Prevent test failure, correctly handle the empty table output

How did you do it?

Added the parameter for the empty table, used output parsing

How did you verify/test it?

Ran on SONiC BMC

Signed-off-by: Sonic Build Admin sonicbld@microsoft.com

Any platform specific information?

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

Documentation

### Description of PR
This test parametrizes the test_show_platform_leak_commands and adds handling for the empty table cases

Summary:
Fixes sonic-net/sonic-mgmt#25761

### Type of change
- [X] Bug fix
- [ ] Testbed and Framework(new/improvement)
- [ ] New Test case
    - [ ] Skipped for non-supported platforms
- [X] Test case improvement

### Back port request
- [ ] 202311
- [ ] 202405
- [ ] 202411
- [ ] 202505
- [ ] 202511
- [ ] 202512
- [ ] 202605

### Approach
#### What is the motivation for this PR?
Prevent test failure, correctly handle the empty table output

#### How did you do it?
Added the parameter for the empty table, used output parsing

#### How did you verify/test it?
Ran on SONiC BMC

Signed-off-by: Sonic Build Admin <sonicbld@microsoft.com>

#### Any platform specific information?

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

### Documentation
@mssonicbld

Copy link
Copy Markdown
Collaborator Author

Original PR: sonic-net/sonic-mgmt#25768

@mssonicbld

Copy link
Copy Markdown
Collaborator Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@mssonicbld mssonicbld merged commit f8ac091 into Azure:202608 Jul 11, 2026
5 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.

1 participant