-
Notifications
You must be signed in to change notification settings - Fork 738
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
Add scope into JSON patch of existing GCU testcases for Multi ASIC. #14098
Add scope into JSON patch of existing GCU testcases for Multi ASIC. #14098
Conversation
/azpw run |
/AzurePipelines run |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
IIUC, both way will be working in this test path, but fix json data may cause many current and future efforts, in this wrapper's change, the caller will not need care it is multiasic or not when preparing data. In reply to: 2313842978 Refers to: tests/generic_config_updater/gu_utils.py:37 in dfe4379. [](commit_id = dfe4379, deletion_comment = False) |
The pre-commit check detected issues in the files touched by this pull request. Detailed pre-commit check results: To run the pre-commit checks locally, you can follow below steps:
|
/azpw run |
/AzurePipelines run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azpw run |
/AzurePipelines run |
Azure Pipelines successfully started running 1 pipeline(s). |
Please resolve conflict. |
Offline discussed, suggest change each test file. The abstraction level at JsonPatch is not proper. In reply to: 2314344959 Refers to: tests/generic_config_updater/gu_utils.py:37 in dfe4379. [](commit_id = dfe4379, deletion_comment = False) |
/AzurePipelines run |
Commenter does not have sufficient privileges for PR 14098 in repo sonic-net/sonic-mgmt |
/azpw run |
/AzurePipelines run |
Azure Pipelines successfully started running 1 pipeline(s). |
The pre-commit check detected issues in the files touched by this pull request. Detailed pre-commit check results: To run the pre-commit checks locally, you can follow below steps:
|
/azpw run |
/AzurePipelines run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azpw run |
/AzurePipelines run |
Azure Pipelines successfully started running 1 pipeline(s). |
…onic-net#14098) ### Description of PR Summary: Improve existing GCU test cases for multi asic. ### Approach #### What is the motivation for this PR? In multi asic, by default, there is no namespace when we do replace or remove operation, which will fail due to the path is incomplete. #### How did you do it? When testcase is running, the apply-patch wrapper in test code will inject the localhost namespace into payload.
…onic-net#14098) ### Description of PR Summary: Improve existing GCU test cases for multi asic. ### Approach #### What is the motivation for this PR? In multi asic, by default, there is no namespace when we do replace or remove operation, which will fail due to the path is incomplete. #### How did you do it? When testcase is running, the apply-patch wrapper in test code will inject the localhost namespace into payload.
Description of PR
Summary:
Improve existing GCU test cases for multi asic.
Type of change
Back port request
Approach
What is the motivation for this PR?
In multi asic, by default, there is no namespace when we do replace or remove operation, which will fail due to the path is incomplete.
How did you do it?
When testcase is running, the apply-patch wrapper in test code will inject the localhost namespace into payload.
How did you verify/test it?
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation