test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/shutdown_api: fix stop_restart case failed
@ 2017-09-19  6:38 lu,peipei
  2017-09-25 13:43 ` Liu, Yong
  0 siblings, 1 reply; 2+ messages in thread
From: lu,peipei @ 2017-09-19  6:38 UTC (permalink / raw)
  To: dts; +Cc: lu,peipei

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

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

* Re: [dts] [PATCH V1] tests/shutdown_api: fix stop_restart case failed
  2017-09-19  6:38 [dts] [PATCH V1] tests/shutdown_api: fix stop_restart case failed lu,peipei
@ 2017-09-25 13:43 ` Liu, Yong
  0 siblings, 0 replies; 2+ messages in thread
From: Liu, Yong @ 2017-09-25 13:43 UTC (permalink / raw)
  To: lu,peipei, dts

Thanks, applied.

On 09/19/2017 02:38 PM, lu,peipei wrote:
> 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(+)

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

end of thread, other threads:[~2017-09-25  5:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-19  6:38 [dts] [PATCH V1] tests/shutdown_api: fix stop_restart case failed lu,peipei
2017-09-25 13:43 ` 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).