[dts] [PATCH V1] tests/short_live:Fix the problem of SIGTERM and SIGINT.
zhu,shuai
shuaix.zhu at intel.com
Mon Mar 19 10:06:16 CET 2018
As DPDK will capture signals, " SIGTERM" and "SIGINT", it needs some time to prepare to exit.
Signed-off-by: zhu,shuai <shuaix.zhu at 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
More information about the dts
mailing list