test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/short_live:Fix the problem of SIGTERM and SIGINT.
@ 2018-03-19  9:06 zhu,shuai
  2018-03-23 10:15 ` Liu, Yong
  0 siblings, 1 reply; 2+ messages in thread
From: zhu,shuai @ 2018-03-19  9:06 UTC (permalink / raw)
  To: dts; +Cc: zhu,shuai

As DPDK will capture signals, " SIGTERM" and "SIGINT", it needs some time to prepare to exit.

Signed-off-by: zhu,shuai <shuaix.zhu@intel.com>
---
 tests/TestSuite_short_live.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/TestSuite_short_live.py b/tests/TestSuite_short_live.py
index 62c43a5..238e3ab 100644
--- a/tests/TestSuite_short_live.py
+++ b/tests/TestSuite_short_live.py
@@ -162,6 +162,7 @@ class TestShortLiveApp(TestCase):
                 self.dut.send_expect("pkill -2 testpmd", "#", 60, True)
             else:
                 self.dut.send_expect("pkill -15 testpmd", "#", 60, True)
+            time.sleep(2)
 
     def test_clean_up_with_signal_l2fwd(self):
         repeat_time = 5
-- 
1.9.3

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

* Re: [dts] [PATCH V1] tests/short_live:Fix the problem of SIGTERM and SIGINT.
  2018-03-19  9:06 [dts] [PATCH V1] tests/short_live:Fix the problem of SIGTERM and SIGINT zhu,shuai
@ 2018-03-23 10:15 ` Liu, Yong
  0 siblings, 0 replies; 2+ messages in thread
From: Liu, Yong @ 2018-03-23 10:15 UTC (permalink / raw)
  To: zhu,shuai, dts

Thanks Shuai. Applied.

On 03/19/2018 05:06 PM, zhu,shuai wrote:
> As DPDK will capture signals, " SIGTERM" and "SIGINT", it needs some time to prepare to exit.
>
> Signed-off-by: zhu,shuai<shuaix.zhu@intel.com>
> ---

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

end of thread, other threads:[~2018-03-23  2:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-19  9:06 [dts] [PATCH V1] tests/short_live:Fix the problem of SIGTERM and SIGINT zhu,shuai
2018-03-23 10:15 ` 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).