From: "lu,peipei" <peipeix.lu@intel.com>
To: dts@dpdk.org
Cc: "lu,peipei" <peipeix.lu@intel.com>
Subject: [dts] [PATCH V1] tests/shutdown_api: fix stop_restart case failed
Date: Tue, 19 Sep 2017 14:38:04 +0800 [thread overview]
Message-ID: <1505803084-20443-1-git-send-email-peipeix.lu@intel.com> (raw)
some OSes check ports status failed,Here need pause for 5 seconds
Signed-off-by: lu,peipei <peipeix.lu@intel.com>
---
tests/TestSuite_shutdown_api.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/TestSuite_shutdown_api.py b/tests/TestSuite_shutdown_api.py
index c497652..f81c3d5 100644
--- a/tests/TestSuite_shutdown_api.py
+++ b/tests/TestSuite_shutdown_api.py
@@ -195,6 +195,7 @@ class TestShutdownApi(TestCase):
self.dut.send_expect("stop", "testpmd> ")
self.check_forwarding(received=False)
self.dut.send_expect("port stop all", "testpmd> ", 100)
+ time.sleep(5)
self.check_ports(status=False)
self.dut.send_expect("port start all", "testpmd> ", 100)
time.sleep(5)
--
1.9.3
next reply other threads:[~2017-09-19 6:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-19 6:38 lu,peipei [this message]
2017-09-25 13:43 ` 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=1505803084-20443-1-git-send-email-peipeix.lu@intel.com \
--to=peipeix.lu@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).