Skip to content

Commit

Permalink
[qos] Align SonicAsic command args to the new method format (#3108)
Browse files Browse the repository at this point in the history
Summary:
Fixes #3107

Signed-off-by: Neetha John <[email protected]>

Ran qos sai test and do not see the failures
  • Loading branch information
neethajohn authored Mar 9, 2021
1 parent bc6b35e commit 6bfba6f
Showing 1 changed file with 4 additions and 4 deletions.
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")

0 comments on commit 6bfba6f

Please sign in to comment.