[dts] [PATCH V1] Wait a few seconds after sending the package
Peng Zhihong
zhihongx.peng at intel.com
Mon Nov 4 03:28:38 CET 2019
Wait a few seconds after sending the package.
Signed-off-by: Peng Zhihong <zhihongx.peng at intel.com>
---
tests/TestSuite_userspace_ethtool.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/TestSuite_userspace_ethtool.py b/tests/TestSuite_userspace_ethtool.py
index 116fd3a..2cdc45a 100644
--- a/tests/TestSuite_userspace_ethtool.py
+++ b/tests/TestSuite_userspace_ethtool.py
@@ -410,6 +410,7 @@ class TestUserspaceEthtool(TestCase, IxiaPacketGenerator):
tester_port = self.tester.get_local_port(port)
intf = self.tester.get_interface(tester_port)
pkt.send_pkt(self.tester, tx_port=intf, count=4)
+ time.sleep(5)
rx_pkts, tx_pkts = self.strip_portstats(index)
self.verify(rx_pkts == ori_rx_pkts + 4, "Failed to forward after ring parameter changed")
self.dut.send_expect("quit", "# ")
--
2.17.1
More information about the dts
mailing list