[V2,2/2] tests/queue_start_stop: modify script according to dpdk code change
Checks
Commit Message
According to dpdk commit 3c4426db54fc(app/testpmd: do not poll stopped queues)
modify queue_start_stop: after set “port 0 txq 0 stop”, no print in testpmd.
Signed-off-by: Lingli Chen <linglix.chen@intel.com>
---
test_plans/queue_start_stop_test_plan.rst | 2 +-
tests/TestSuite_queue_start_stop.py | 12 ------------
2 files changed, 1 insertion(+), 13 deletions(-)
@@ -43,7 +43,7 @@ This case support PF (Intel® Ethernet 700 Series), VF (Intel® Ethernet 700 Ser
#. Start packet generator to transmit and not receive packets
#. Run "port 0 rxq 0 start" to start rxq 0 in port 0
#. Run "port 1 txq 1 stop" to start txq 0 in port 1
-#. Start packet generator to transmit and not receive packets but in testpmd it is a "ports 0 queue 0 received 1 packages" print
+#. Start packet generator to transmit and not receive packets
#. Run "port 1 txq 1 start" to start txq 0 in port 1
#. Start packet generator to transmit and receive packets
#. Test it again with VF
@@ -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")