Skip to content

[platform]Optimize reboot-cause testcase#1167

Merged
lguohan merged 2 commits intosonic-net:masterfrom
stephenxs:optimize-reboot-cause
Oct 18, 2019
Merged

[platform]Optimize reboot-cause testcase#1167
lguohan merged 2 commits intosonic-net:masterfrom
stephenxs:optimize-reboot-cause

Conversation

@stephenxs
Copy link
Contributor

Description of PR

Summary:
Optimize reboot-cause testcase via checking reboot-cause only for power off and watchdog reboot.

The power off and watchdog reboot share the same working flow with cold reboot except that their reboot causes differ and the motivation of them is to verify whether the reboot cause is correct.
In this sense, it is unnecessary to do the full check for them. By doing so we can reduce a lot of minutes.

Type of change

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

Approach

How did you do it?

Skip checkings other than reboot-cause for power off and watchdog reboot.

How did you verify/test it?

Run platform test.

Any platform specific information?

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

Documentation

Stephen Sun and others added 2 commits October 17, 2019 03:52
…dog reboot.

The power off and watchdog reboot share the same working flow with cold reboot except that their reboot causes differ and the motivation of them is to verify whether the reboot cause is correct.
In this sense, it is unnecessary to do the full check for them.
@lguohan lguohan merged commit 977ff83 into sonic-net:master Oct 18, 2019
@stephenxs stephenxs deleted the optimize-reboot-cause branch October 18, 2019 01:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants