Skip to content

Use pytest option for swapping syncd in dscp remapping test#10074

Merged
bingwang-ms merged 1 commit intosonic-net:masterfrom
congh-nvidia:qos_remap_swap_syncd
Sep 26, 2023
Merged

Use pytest option for swapping syncd in dscp remapping test#10074
bingwang-ms merged 1 commit intosonic-net:masterfrom
congh-nvidia:qos_remap_swap_syncd

Conversation

@congh-nvidia
Copy link
Copy Markdown
Contributor

Description of PR

Summary:
For Nvidia, we use the RPC image instead of swapping syncd in the qos sai tests. We need an option to control if the swap_syncd should be executed.

Type of change

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

Back port request

  • 201911
  • 202012
  • 202205
  • 202305

Approach

What is the motivation for this PR?

The pytest option "--qos_swap_syncd" is used in the regular qos sai test and we should also use it in the dscp remapping test.
The default value of this option is True, so this change won't affect existing test execution.
https://github.com/sonic-net/sonic-mgmt/blob/master/tests/conftest.py#L95-L96

How did you do it?

Only swap the syncd when "--qos_swap_syncd" is True.

How did you verify/test it?

Verified on dualtor testbed, no issues found.

Any platform specific information?

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

Documentation

For Nvidia, we use the RPC image instead of swapping syncd in the qos sai test. We need an option to control if the swap_syncd should be executed.

Change-Id: Ideb8bd1054604d77bf26c5c44624f7d493d9eb41
@bingwang-ms bingwang-ms merged commit 0fa8f6f into sonic-net:master Sep 26, 2023
@congh-nvidia congh-nvidia deleted the qos_remap_swap_syncd branch October 23, 2023 09:23
AharonMalkin pushed a commit to AharonMalkin/sonic-mgmt that referenced this pull request Jan 25, 2024
…t#10074)

For Nvidia, we use the RPC image instead of swapping syncd in the qos sai test. We need an option to control if the swap_syncd should be executed.

Change-Id: Ideb8bd1054604d77bf26c5c44624f7d493d9eb41
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Feb 1, 2024
…t#10074)

For Nvidia, we use the RPC image instead of swapping syncd in the qos sai test. We need an option to control if the swap_syncd should be executed.

Change-Id: Ideb8bd1054604d77bf26c5c44624f7d493d9eb41
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Feb 1, 2024
…t#10074)

For Nvidia, we use the RPC image instead of swapping syncd in the qos sai test. We need an option to control if the swap_syncd should be executed.

Change-Id: Ideb8bd1054604d77bf26c5c44624f7d493d9eb41
@mssonicbld
Copy link
Copy Markdown
Collaborator

Cherry-pick PR to 202305: #11487

@mssonicbld
Copy link
Copy Markdown
Collaborator

Cherry-pick PR to 202205: #11488

mssonicbld pushed a commit that referenced this pull request Feb 1, 2024
For Nvidia, we use the RPC image instead of swapping syncd in the qos sai test. We need an option to control if the swap_syncd should be executed.

Change-Id: Ideb8bd1054604d77bf26c5c44624f7d493d9eb41
mssonicbld pushed a commit that referenced this pull request Feb 1, 2024
For Nvidia, we use the RPC image instead of swapping syncd in the qos sai test. We need an option to control if the swap_syncd should be executed.

Change-Id: Ideb8bd1054604d77bf26c5c44624f7d493d9eb41
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.

5 participants