[dts][PATCH V1 4/4] tests/queue_start_stop: modify script according to dpdk code change
Lingli Chen
linglix.chen at intel.com
Thu Jun 23 08:53:36 CEST 2022
According to dpdk commit 3c4426db54fc(app/testpmd: do not poll stopped queues)
after set âport 0 txq 0 stopâ, no print in testpmd
Signed-off-by: Lingli Chen <linglix.chen at intel.com>
---
tests/TestSuite_queue_start_stop.py | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/tests/TestSuite_queue_start_stop.py b/tests/TestSuite_queue_start_stop.py
index 1df59a1b..f5028e8b 100644
--- a/tests/TestSuite_queue_start_stop.py
+++ b/tests/TestSuite_queue_start_stop.py
@@ -134,21 +134,9 @@ class TestQueueStartStop(TestCase):
self.dut.send_expect("port 0 txq 0 stop", "testpmd>")
self.dut.send_expect("start", "testpmd>")
self.check_forwarding([0, 0], self.nic, received=False)
- out = self.dut.get_session_output()
except Exception as e:
raise IOError("queue start/stop forward failure: %s" % e)
- if self.nic == "cavium_a063":
- self.verify(
- "ports 0 queue 0 receive 4 packages" in out,
- "start queue revice package failed, out = %s" % out,
- )
- else:
- self.verify(
- "ports 0 queue 0 receive 1 packages\r\n" * 4 in out,
- "start queue revice package failed, out = %s" % out,
- )
-
try:
# start tx queue test
print("test start rx and tx queue")
--
2.17.1
More information about the dts
mailing list