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

Fix default route race condition UT #258

Merged
merged 1 commit into from
Jun 26, 2024
Merged

Conversation

lolyu
Copy link
Contributor

@lolyu lolyu commented Jun 26, 2024

Description of PR

Summary:
Fixes # (issue)

Type of change

  • Bug fix
  • New feature
  • Doc/Design
  • Unit test

Approach

What is the motivation for this PR?

Fix the UT failure introduced by #254.
The failure is due to that, the wait time for the two default route handlers to finish is 10ms, which is not sufficient on some build image agents which has limited CPU resource.

Signed-off-by: Longxiang Lyu [email protected]

Work item tracking
  • Microsoft ADO (number only): 28471183

How did you do it?

Let's increase the wait time to 8s.

How did you verify/test it?

UT passed.

Any platform specific information?

Documentation

@yxieca yxieca merged commit 9768268 into sonic-net:master Jun 26, 2024
9 checks passed
mssonicbld pushed a commit to mssonicbld/sonic-linkmgrd that referenced this pull request Jun 26, 2024
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202311: #259

mssonicbld pushed a commit that referenced this pull request Jun 26, 2024
lolyu added a commit to lolyu/sonic-linkmgrd that referenced this pull request Aug 23, 2024
lolyu added a commit that referenced this pull request Aug 23, 2024
Approach
What is the motivation for this PR?
Fix the UT failure introduced by #254.
The failure is due to that, the wait time for the two default route handlers to finish is 10ms, which is not sufficient on some build image agents which has limited CPU resource.

Signed-off-by: Longxiang Lyu [email protected]

Work item tracking
Microsoft ADO (number only): 28471183
How did you do it?
Let's increase the wait time to 8s.

How did you verify/test it?
UT passed.

Any platform specific information?
Documentation
@bingwang-ms
Copy link

@lolyu Can you please file a direct PR for 202405 branch to address the conflict?

@lolyu
Copy link
Contributor Author

lolyu commented Aug 27, 2024

@lolyu Can you please file a direct PR for 202405 branch to address the conflict?

It has been merged: #268

lolyu added a commit to lolyu/sonic-linkmgrd that referenced this pull request Aug 27, 2024
@lolyu lolyu mentioned this pull request Aug 27, 2024
4 tasks
StormLiangMS pushed a commit that referenced this pull request Aug 28, 2024
What is the motivation for this PR?
Cherry-pick #258 into 202305.

Signed-off-by: Longxiang Lyu [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.

4 participants