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

[qos] Align SonicAsic command args to the new method format #3108

Merged
merged 1 commit into from
Mar 9, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions tests/qos/qos_sai_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,7 @@ def populateArpEntries(
elif dutTestParams["topo"] in self.SUPPORTED_PTF_TOPOS:
saiQosTest = "sai_qos_tests.ARPpopulatePTF"
else:
result = dut_asic.command(argv = ["arp", "-n"])
result = dut_asic.command("arp -n")
pytest_assert(result["rc"] == 0, "failed to run arp command on {0}".format(duthost.hostname))
if result["stdout"].find("incomplete") == -1:
saiQosTest = "sai_qos_tests.ARPpopulate"
Expand Down Expand Up @@ -1064,6 +1064,6 @@ def resetWatermark(
"""
duthost = duthosts[rand_one_dut_hostname]
dut_asic = duthost.asic_instance(enum_frontend_asic_index)
dut_asic.command(argv = ["counterpoll", "watermark", "enable"])
dut_asic.command(argv = ["sleep", "20"])
dut_asic.command(argv = ["counterpoll", "watermark", "disable"])
dut_asic.command("counterpoll watermark enable")
dut_asic.command("sleep 20")
dut_asic.command("counterpoll watermark disable")