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

Li, WenjieX A wenjiex.a.li at intel.com
Tue May 7 09:24:33 CEST 2019


Reviewed-by: Li, WenjieX A <wenjiex.a.li at intel.com>

> -----Original Message-----
> From: Li, WenjieX A
> Sent: Friday, April 26, 2019 11:00 AM
> To: dts at dpdk.org
> Cc: Li, WenjieX A <wenjiex.a.li at intel.com>
> Subject: [dts][PATCH V1] tests/unit_tests_loopback: increase the timeout
> threshold
> 
> 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