test suite reviews and discussions
 help / color / mirror / Atom feed
From: "xu,huilong" <huilongx.xu@intel.com>
To: dts@dpdk.org
Subject: [dts] [PATCH V2] try fix scatter case failed
Date: Thu,  5 Nov 2015 09:40:01 +0800	[thread overview]
Message-ID: <1446687601-50652-1-git-send-email-huilongx.xu@intel.com> (raw)

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

             reply	other threads:[~2015-11-05  1:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-05  1:40 xu,huilong [this message]
2015-11-05  7:07 ` Liu, Yong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1446687601-50652-1-git-send-email-huilongx.xu@intel.com \
    --to=huilongx.xu@intel.com \
    --cc=dts@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).