Skip to content

Move 'get_disabled_container_list' to dut_utils.py#3335

Merged
yxieca merged 2 commits intosonic-net:masterfrom
bingwang-ms:common_get_disabled_container_list
Apr 15, 2021
Merged

Move 'get_disabled_container_list' to dut_utils.py#3335
yxieca merged 2 commits intosonic-net:masterfrom
bingwang-ms:common_get_disabled_container_list

Conversation

@bingwang-ms
Copy link
Copy Markdown
Collaborator

Signed-off-by: bingwang [email protected]

Description of PR

Summary:
Util get_disabled_container_list is duplicated defined in both test_container_autorestart and test_container_check.
This PR move get_disabled_container_list definiton to dut_utils.py, and fix always_disabled issue.

Type of change

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

Approach

What is the motivation for this PR?

This PR is to move get_disabled_container_list definiton to dut_utils.py, and fix always_disabled issue.

How did you do it?

Please see code.

How did you verify/test it?

Verified on SN4600c.

Any platform specific information?

No.

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

Documentation

@bingwang-ms bingwang-ms requested a review from a team as a code owner April 15, 2021 09:11
Copy link
Copy Markdown
Collaborator

@lolyu lolyu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yxieca yxieca merged commit badfb3e into sonic-net:master Apr 15, 2021
saravanansv pushed a commit to saravanansv/sonic-mgmt that referenced this pull request May 6, 2021
Description of PR
Summary:
Util get_disabled_container_list is duplicated defined in both test_container_autorestart and test_container_check.
This PR move get_disabled_container_list definiton to dut_utils.py, and fix always_disabled issue.

Approach
What is the motivation for this PR?
This PR is to move get_disabled_container_list definiton to dut_utils.py, and fix always_disabled issue.

How did you do it?
Please see code.

How did you verify/test it?
Verified on SN4600c.

Signed-off-by: bingwang <[email protected]>
vmittal-msft pushed a commit to vmittal-msft/sonic-mgmt that referenced this pull request Sep 28, 2021
Description of PR
Summary:
Util get_disabled_container_list is duplicated defined in both test_container_autorestart and test_container_check.
This PR move get_disabled_container_list definiton to dut_utils.py, and fix always_disabled issue.

Approach
What is the motivation for this PR?
This PR is to move get_disabled_container_list definiton to dut_utils.py, and fix always_disabled issue.

How did you do it?
Please see code.

How did you verify/test it?
Verified on SN4600c.

Signed-off-by: bingwang <[email protected]>
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.

3 participants