Skip to content

[action] [PR:15951] Adjust t2 timing in tests/platform_tests/test_reload_config.py#16284

Merged
mssonicbld merged 1 commit intosonic-net:202411from
mssonicbld:cherry/202411/15951
Jan 2, 2025
Merged

[action] [PR:15951] Adjust t2 timing in tests/platform_tests/test_reload_config.py#16284
mssonicbld merged 1 commit intosonic-net:202411from
mssonicbld:cherry/202411/15951

Conversation

@mssonicbld
Copy link
Copy Markdown
Collaborator

Description of PR

Summary:
Fixes # (issue) 3045798

The decision was to enable this test gap in #13476 however we mentioned that we need to increase the time.

By default, the reboot time will be decided from constant variable reboot_ctrl_dict which will set the REBOOT_TYPE_COLD = 300

https://github.com/sonic-net/sonic-mgmt/blob/master/tests/common/reboot.py#L133

For T2, this time is not sufficient enough and lead to failure. We will adjust the time accordingly.

This PR will fix that

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?

How did you do it?

Enable plt_reboot_ctrl_overwrite if platform is T2

How did you verify/test it?

Any platform specific information?

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

Documentation

…onic-net#15951)

Description of PR
Summary:
Fixes # (issue) 3045798

The decision was to enable this test gap in sonic-net#13476 however we mentioned that we need to increase the time.

By default, the reboot time will be decided from constant variable reboot_ctrl_dict which will set the REBOOT_TYPE_COLD = 300

https://github.com/sonic-net/sonic-mgmt/blob/master/tests/common/reboot.py#L133

For T2, this time is not sufficient enough and lead to failure. We will adjust the time accordingly.

This PR will fix that

Approach
What is the motivation for this PR?
How did you do it?
Enable plt_reboot_ctrl_overwrite if platform is T2

Signed-off-by: Austin Pham <[email protected]>
@mssonicbld mssonicbld requested a review from prgeor as a code owner January 2, 2025 01:25
@mssonicbld
Copy link
Copy Markdown
Collaborator Author

/azp run

@mssonicbld
Copy link
Copy Markdown
Collaborator Author

Original PR: #15951

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld mssonicbld merged commit bd32d86 into sonic-net:202411 Jan 2, 2025
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