[dts] [PATCH V1] tests/l2fwd_jobstats:add scapy_send_packet timeout

Xiaoxiao Zeng xiaoxiaox.zeng at intel.com
Mon Oct 21 22:07:24 CEST 2019


*.90 seconds timeout not enough,change timout to 120 seconds.

Signed-off-by: Xiaoxiao Zeng <xiaoxiaox.zeng at intel.com>
---
 tests/TestSuite_l2fwd_jobstats.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_l2fwd_jobstats.py b/tests/TestSuite_l2fwd_jobstats.py
index 7f12229..18c25d4 100644
--- a/tests/TestSuite_l2fwd_jobstats.py
+++ b/tests/TestSuite_l2fwd_jobstats.py
@@ -97,7 +97,7 @@ class TestL2fwdJobstats(TestCase):
             txItf = self.tester.get_interface(txport)
             self.tester.scapy_append(
                 'sendp([Ether(dst="02:00:00:00:00", src="%s")/IP()/UDP()/Raw(\'X\'*18)], iface="%s",count=%s)' % (mac, txItf, count))
-            self.tester.scapy_execute(timeout=90)
+            self.tester.scapy_execute(timeout=120)
 
     def tear_down(self):
         """
-- 
2.17.0



More information about the dts mailing list