[dts] [PATCH] TestSuite_uni_pkt.py: Modified send packet count to support vector mode
nareddy at marvell.com
nareddy at marvell.com
Mon Jun 10 08:00:41 CEST 2019
From: Praneeth Reddy <nareddy at marvell.com>
In vector mode 4 packets are required.
Modified packet count to 4 in all test cases.
Signed-off-by: Praneeth Reddy <nareddy at marvell.com>
---
tests/TestSuite_uni_pkt.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/TestSuite_uni_pkt.py b/tests/TestSuite_uni_pkt.py
index 40dc5e0..5d09fc1 100644
--- a/tests/TestSuite_uni_pkt.py
+++ b/tests/TestSuite_uni_pkt.py
@@ -81,7 +81,7 @@ class TestUniPacket(TestCase):
for pkt_type in pkt_types.keys():
pkt_names = pkt_types[pkt_type]
pkt = Packet(pkt_type=pkt_type)
- pkt.send_pkt(tx_port=self.tester_iface)
+ pkt.send_pkt(tx_port=self.tester_iface, count=4)
out = self.dut.get_session_output(timeout=2)
for pkt_layer_name in pkt_names:
if pkt_layer_name not in out:
--
1.8.3.1
More information about the dts
mailing list