[V1,4/4] tests/queue_start_stop: modify script according to dpdk code change

Message ID 20220623065336.21482-5-linglix.chen@intel.com (mailing list archive)
State Superseded
Headers
Series modify script according to dpdk code change |

Commit Message

Lingli Chen June 23, 2022, 6:53 a.m. UTC
  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@intel.com>
---
 tests/TestSuite_queue_start_stop.py | 12 ------------
 1 file changed, 12 deletions(-)
  

Patch

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")