Skip to content

[action] [PR:25988] Removed admin_up checks from test_switch_host_status_control#1301

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

[action] [PR:25988] Removed admin_up checks from test_switch_host_status_control#1301
mssonicbld merged 1 commit into
Azure:202608from
mssonicbld:cherry/msft-202608/25988

Conversation

@mssonicbld

Copy link
Copy Markdown
Collaborator

Description of PR

Summary:
Remove the admin_up checks from test_switch_host_status_control since admin_up is the config option and the test is calling the API directly.
Test test is calling the platform API to toggle the SWITCH-HOST power.
The config and admin status does not change.

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?

Fix the expected CLI state in the test

How did you do it?

Removed the admin state checks, as driven by the config

How did you verify/test it?

Ran the test on the BMC testbed

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

Summary:
Remove the admin_up checks from test_switch_host_status_control since admin_up is the config option and the test is calling the API directly.
Test test is calling the platform API to toggle the SWITCH-HOST power.
The config and admin status does not change.

### Type of change

- [X] 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?
Fix the expected CLI state in the test

#### How did you do it?
Removed the admin state checks, as driven by the config

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

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#25988

@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 cf1b1c6 into Azure:202608 Jul 10, 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