[V1] tests/unit_tests_mempool: mempool_perf_autotest increase timeout

Message ID 20220222051754.1387214-1-linglix.chen@intel.com (mailing list archive)
State Accepted
Headers
Series [V1] tests/unit_tests_mempool: mempool_perf_autotest increase timeout |

Checks

Context Check Description
ci/Intel-dts-suite-test success Testing OK

Commit Message

Lingli Chen Feb. 22, 2022, 5:17 a.m. UTC
  According to dpdk commit ed579e50c66d("mempool: test performance with constant n") A few more test cases were added.
Increased the timeout value in memory pool performance autotest

Signed-off-by: Lingli Chen <linglix.chen@intel.com>
---
 tests/TestSuite_unit_tests_mempool.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Tu, Lijuan Feb. 27, 2022, 2:30 p.m. UTC | #1
> -----Original Message-----
> From: Lingli Chen <linglix.chen@intel.com>
> Sent: 2022年2月22日 13:18
> To: dts@dpdk.org
> Cc: Chen, LingliX <linglix.chen@intel.com>
> Subject: [dts][PATCH V1] tests/unit_tests_mempool: mempool_perf_autotest
> increase timeout
> 
> According to dpdk commit ed579e50c66d("mempool: test performance with
> constant n") A few more test cases were added.
> Increased the timeout value in memory pool performance autotest
> 
> Signed-off-by: Lingli Chen <linglix.chen@intel.com>

Applied
  

Patch

diff --git a/tests/TestSuite_unit_tests_mempool.py b/tests/TestSuite_unit_tests_mempool.py
index 455f4322..11b41604 100644
--- a/tests/TestSuite_unit_tests_mempool.py
+++ b/tests/TestSuite_unit_tests_mempool.py
@@ -84,7 +84,7 @@  class TestUnitTestsMempool(TestCase):
         eal_params = self.dut.create_eal_parameters(cores=self.cores)
         app_name = self.dut.apps_name['test']
         self.dut.send_expect(app_name + eal_params,"R.*T.*E.*>.*>", 60)        
-        out = self.dut.send_expect("mempool_perf_autotest", "RTE>>", 2000)
+        out = self.dut.send_expect("mempool_perf_autotest", "RTE>>", 4500)
         self.dut.send_expect("quit", "# ")
         self.verify("Test OK" in out, "Test failed")