test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V2] try fix scatter case failed
@ 2015-11-05  1:40 xu,huilong
  2015-11-05  7:07 ` Liu, Yong
  0 siblings, 1 reply; 2+ messages in thread
From: xu,huilong @ 2015-11-05  1:40 UTC (permalink / raw)
  To: dts

add a sleep time for scapy process exit

Signed-off-by: xu,huilong <huilongx.xu@intel.com>
---
 tests/TestSuite_scatter.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/TestSuite_scatter.py b/tests/TestSuite_scatter.py
index 1bec2c8..7a49b53 100644
--- a/tests/TestSuite_scatter.py
+++ b/tests/TestSuite_scatter.py
@@ -36,6 +36,7 @@ Test Scattered Packets.
 import dts
 from test_case import TestCase
 from pmd_output import PmdOutput
+import time
 #
 #
 # Test class.
@@ -85,6 +86,7 @@ class TestScatter(TestCase):
         self.tester.scapy_append(
             'sendp([Ether(src="%s",dst="%s")/IP(len=%s)/Raw(load="\x50"*%s)], iface="%s")' % (smac, dmac,pktlen, padding, sintf))
         self.tester.scapy_execute()
+        time.sleep(5)
         res = self.tester.scapy_get_result()
         self.tester.send_expect("ifconfig %s mtu 1500" % sintf, "#")
         self.tester.send_expect("ifconfig %s mtu 1500" % sintf, "#")
-- 
1.9.3

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-11-05  7:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-05  1:40 [dts] [PATCH V2] try fix scatter case failed xu,huilong
2015-11-05  7:07 ` Liu, Yong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).