[dts] [PATCH V1] tests/unit_tests_loopback: increase the timeout threshold

Wenjie Li wenjiex.a.li at intel.com
Fri Apr 26 04:59:43 CEST 2019


Cannot finish "make" within 30s on some platforms, increase the
threshold.

Signed-off-by: Wenjie Li <wenjiex.a.li at intel.com>
---
 tests/TestSuite_unit_tests_loopback.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_unit_tests_loopback.py b/tests/TestSuite_unit_tests_loopback.py
index e56c085..ad49e8a 100644
--- a/tests/TestSuite_unit_tests_loopback.py
+++ b/tests/TestSuite_unit_tests_loopback.py
@@ -140,6 +140,6 @@ class TestUnitTestsLoopback(TestCase):
         self.dut.send_expect("sed -i -e 's/lpbk_mode = 0/lpbk_mode = 1/' app/test/test_pmd_perf.c", "# ", 30)
         self.dut.send_expect("sed -i -e 's/#define MAX_TRAFFIC_BURST              32/#define MAX_TRAFFIC_BURST              %s/' app/test/test_pmd_perf.c" % self.max_traffic_burst, "# ", 30)
         self.dut.send_expect("cd app/test", "# ")
-        self.dut.send_expect("make", "# ", 30)
+        self.dut.send_expect("make", "# ", 120)
         self.dut.send_expect("cd /root/dpdk", "# ")
         self.dut.kill_all()
-- 
2.17.2



More information about the dts mailing list