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

[test_reboot]Wait a few seconds before checking the reboot-cause #1367

Merged
merged 3 commits into from
Feb 9, 2020
Merged

[test_reboot]Wait a few seconds before checking the reboot-cause #1367

merged 3 commits into from
Feb 9, 2020

Conversation

stephenxs
Copy link
Contributor

Description of PR

Summary:
In the reboot cause test it is assumed that the reboot-cause is available as soon as the critical services ready. However, PR Delay process-reboot-cause service until network connection is stable #4003 introduces an extra amount of seconds and fails the assumption.

Type of change

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

Approach

How did you do it?

Wrap the reboot-cause-check into a wait-until logic so that it can wait for the process-reboot-cause for a few seconds.

How did you verify/test it?

Run reboot cause test.

Any platform specific information?

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

Documentation

@lguohan lguohan merged commit 0dc4eea into sonic-net:master Feb 9, 2020
@stephenxs stephenxs deleted the fix-reboot-cause-delay branch February 10, 2020 01:27
@stephenxs
Copy link
Contributor Author

@lguohan Could you please add the request-201811 label and then cherry-pick it to the 201811 branch?
Thanks.

yxieca pushed a commit that referenced this pull request Feb 14, 2020
In the reboot cause test it is assumed that the reboot-cause is available as soon as the critical services ready. However, PR Delay process-reboot-cause service until network connection is stable #4003 introduces an extra amount of seconds and fails the assumption.
mykolaf pushed a commit to mykolaf/sonic-mgmt that referenced this pull request Mar 11, 2020
…ic-net#1367)

In the reboot cause test it is assumed that the reboot-cause is available as soon as the critical services ready. However, PR Delay process-reboot-cause service until network connection is stable sonic-net#4003 introduces an extra amount of seconds and fails the assumption.
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