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

refactor: enhance override config masic test #16226

Merged
merged 1 commit into from
Jan 2, 2025

Conversation

cyw233
Copy link
Contributor

@cyw233 cyw233 commented Dec 25, 2024

Description of PR

Enhance the override_config_table/test_override_config_table_masic.py to make it compatible with the parallel run infra.

Summary:
Fixes # (issue) Microsoft ADO 30056122

Type of change

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

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405
  • 202411

Approach

What is the motivation for this PR?

We wanted to enable parallel run for override_config_table/test_override_config_table_masic.py, so we need to deprecate enum_upstream_dut_hostname.

How did you do it?

How did you verify/test it?

I ran the updated code and can confirm it's working as expected.

Any platform specific information?

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

Documentation

@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@yejianquan
Copy link
Collaborator

@cyw233 Have we tested it on the non-chassis devices?
Before cherry-picking to 202405, we need to make sure it won't cause regression.

@cyw233
Copy link
Contributor Author

cyw233 commented Jan 2, 2025

@cyw233 Have we tested it on the non-chassis devices? Before cherry-picking to 202405, we need to make sure it won't cause regression.

Can confirm the change will not cause any regression on multi-asic T1 device: https://elastictest.org/scheduler/testplan/67763b01b9fbfafb6a51c1b5

Copy link
Collaborator

@yejianquan yejianquan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yejianquan yejianquan merged commit 62f5764 into sonic-net:master Jan 2, 2025
19 checks passed
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Jan 2, 2025
Description of PR
Enhance the override_config_table/test_override_config_table_masic.py to make it compatible with the parallel run infra.

Summary:
Fixes # (issue) Microsoft ADO 30056122

Approach
What is the motivation for this PR?
We wanted to enable parallel run for override_config_table/test_override_config_table_masic.py, so we need to deprecate enum_upstream_dut_hostname.

How did you do it?
How did you verify/test it?
I ran the updated code and can confirm it's working as expected.

co-authorized by: [email protected]
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202411: #16310

mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Jan 2, 2025
Description of PR
Enhance the override_config_table/test_override_config_table_masic.py to make it compatible with the parallel run infra.

Summary:
Fixes # (issue) Microsoft ADO 30056122

Approach
What is the motivation for this PR?
We wanted to enable parallel run for override_config_table/test_override_config_table_masic.py, so we need to deprecate enum_upstream_dut_hostname.

How did you do it?
How did you verify/test it?
I ran the updated code and can confirm it's working as expected.

co-authorized by: [email protected]
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202405: #16311

mssonicbld pushed a commit that referenced this pull request Jan 3, 2025
Description of PR
Enhance the override_config_table/test_override_config_table_masic.py to make it compatible with the parallel run infra.

Summary:
Fixes # (issue) Microsoft ADO 30056122

Approach
What is the motivation for this PR?
We wanted to enable parallel run for override_config_table/test_override_config_table_masic.py, so we need to deprecate enum_upstream_dut_hostname.

How did you do it?
How did you verify/test it?
I ran the updated code and can confirm it's working as expected.

co-authorized by: [email protected]
yejianquan pushed a commit that referenced this pull request Jan 3, 2025
Description of PR
Enable parallel run for override_config_table/test_override_config_table_masic.py in 202405

Summary:
Fixes # (issue) Microsoft ADO 30056122

Approach
What is the motivation for this PR?
Previously we disabled parallel run for override_config_table/test_override_config_table_masic.py in 202405 as it's not compatible with the existing infra. Now this test has been enhanced in #16226 so we can enable parallel run for it.

co-authorized by: [email protected]
mssonicbld pushed a commit that referenced this pull request Jan 3, 2025
Description of PR
Enhance the override_config_table/test_override_config_table_masic.py to make it compatible with the parallel run infra.

Summary:
Fixes # (issue) Microsoft ADO 30056122

Approach
What is the motivation for this PR?
We wanted to enable parallel run for override_config_table/test_override_config_table_masic.py, so we need to deprecate enum_upstream_dut_hostname.

How did you do it?
How did you verify/test it?
I ran the updated code and can confirm it's working as expected.

co-authorized by: [email protected]
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.

3 participants