[dts] [PATCH V1] tests/TestSuite_short_live.py:Delay repair on start_up_time.

zhu,shuai shuaix.zhu at intel.com
Wed Mar 14 08:02:52 CET 2018


I think it is because case has delayed after killing testpmd, resulting in no release resources.

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

diff --git a/tests/TestSuite_short_live.py b/tests/TestSuite_short_live.py
index 62c43a5..8d1d847 100644
--- a/tests/TestSuite_short_live.py
+++ b/tests/TestSuite_short_live.py
@@ -160,8 +160,10 @@ class TestShortLiveApp(TestCase):
             # kill with differen Signal
             if i%2 == 0:
                 self.dut.send_expect("pkill -2 testpmd", "#", 60, True)
+                time.sleep(2)
             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