[dts] [PATCH] TestSuite_short_live.py: Modified send packet count to support vector mode

nareddy at marvell.com nareddy at marvell.com
Mon Jun 10 07:57:11 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_short_live.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_short_live.py b/tests/TestSuite_short_live.py
index c18dac4..93ec587 100644
--- a/tests/TestSuite_short_live.py
+++ b/tests/TestSuite_short_live.py
@@ -106,7 +106,7 @@ class TestShortLiveApp(TestCase):
 
         pktlen = pktSize - 14
         padding = pktlen - 20
-        self.tester.scapy_append('sendp([Ether(src="%s", dst="%s")/IP()/Raw(load="P"*%s)], iface="%s")' % (smac, dmac, padding, txitf))
+        self.tester.scapy_append('sendp([Ether(src="%s", dst="%s")/IP()/Raw(load="P"*%s)], iface="%s", count=4)' % (smac, dmac, padding, txitf))
 
         self.tester.scapy_execute()
         time.sleep(3)
-- 
1.8.3.1



More information about the dts mailing list