Skip to content

[action] [PR:10886] platform_tests: Fix skip_modules check in test_power_budget_info.py#11514

Merged
mssonicbld merged 1 commit intosonic-net:202305from
mssonicbld:cherry/202305/10886
Feb 1, 2024
Merged

[action] [PR:10886] platform_tests: Fix skip_modules check in test_power_budget_info.py#11514
mssonicbld merged 1 commit intosonic-net:202305from
mssonicbld:cherry/202305/10886

Conversation

@mssonicbld
Copy link
Copy Markdown
Collaborator

Description of PR

There is an extra space in the linecard name in mod_name which prevents the linecard name from matching that in the module skip list. This PR removes the extra whitespace from mod_name so the linecard name correctly matches.

Summary:
Fixes #10885

Type of change

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

Back port request

  • 201911
  • 202012
  • 202205
  • 202305

Approach

What is the motivation for this PR?

This PR fixes a bug which causes a spurious test failure in test_power_budget_info.py.

How did you do it?

Remove the spurious whitespace that caused the linecard name to not match the value in the skip list.

How did you verify/test it?

Manually running test_power_budget_info.py on a device in our testbed with an extra linecard that should be skipped during the test.

Any platform specific information?

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

Documentation

…onic-net#10886)

There is an extra space in the linecard name in mod_name which prevents the linecard name from matching that in the module skip list. This PR removes the extra whitespace from mod_name so the linecard name correctly matches.

Summary:
Fixes sonic-net#10885
@mssonicbld
Copy link
Copy Markdown
Collaborator Author

Original PR: #10886

@mssonicbld mssonicbld merged commit 5c6e135 into sonic-net:202305 Feb 1, 2024
@mssonicbld mssonicbld deleted the cherry/202305/10886 branch February 4, 2024 09:16
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