Skip to content

Add wait time to verify mux status in sanity check#7422

Merged
xwjiang-ms merged 3 commits intosonic-net:masterfrom
xwjiang-ms:add_mux_wait_time_in_sanity_check
Mar 2, 2023
Merged

Add wait time to verify mux status in sanity check#7422
xwjiang-ms merged 3 commits intosonic-net:masterfrom
xwjiang-ms:add_mux_wait_time_in_sanity_check

Conversation

@xwjiang-ms
Copy link
Contributor

@xwjiang-ms xwjiang-ms commented Feb 9, 2023

Description of PR

Summary:
Fixes # (issue)

Type of change

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

Back port request

  • 201911
  • 202012
  • 202205

Approach

What is the motivation for this PR?

After config reload in one tor of dual-tor, mux simulator will be inconsistent for several seconds, that's because mux simulator needs some time to toggle to correct status.

How did you do it?

Add wait time in sanity check to verify mux status, and check mux status later.

How did you verify/test it?

Any platform specific information?

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

Documentation

What is the motivation for this PR?
After config reload, mux simulator needs some time to switch to correct
status

How did you do it?
Add wait time in sanity check to verify mux status
@xwjiang-ms xwjiang-ms changed the title Add wait time to verify mux status Add wait time to verify mux status in sanity check Feb 9, 2023
@xwjiang-ms xwjiang-ms closed this Feb 10, 2023
@xwjiang-ms xwjiang-ms reopened this Mar 1, 2023
@xwjiang-ms xwjiang-ms merged commit a5b1161 into sonic-net:master Mar 2, 2023
@xwjiang-ms xwjiang-ms deleted the add_mux_wait_time_in_sanity_check branch March 2, 2023 02:20
@wangxin
Copy link
Collaborator

wangxin commented Mar 6, 2023

@xwjiang-ms Merging this PR to 202012 branch got conflicts. Can you create a separate PR to the 202012 branch?

wangxin pushed a commit that referenced this pull request Mar 7, 2023
* Add wait time to verify mux status

What is the motivation for this PR?
After config reload, mux simulator needs some time to switch to correct
status

How did you do it?
Add wait time in sanity check to verify mux status
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