test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V2] fix timeout on FreeBSD error
@ 2016-12-28  2:50 xu,gang
  2016-12-28  5:04 ` Liu, Yong
  0 siblings, 1 reply; 2+ messages in thread
From: xu,gang @ 2016-12-28  2:50 UTC (permalink / raw)
  To: dts; +Cc: xu,gang

Signed-off-by: xu,gang <gangx.xu@intel.com>
---
 tests/TestSuite_unit_tests_eal.py  | 3 ++-
 tests/TestSuite_unit_tests_mbuf.py | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/tests/TestSuite_unit_tests_eal.py b/tests/TestSuite_unit_tests_eal.py
index d27ba39..bebb00b 100644
--- a/tests/TestSuite_unit_tests_eal.py
+++ b/tests/TestSuite_unit_tests_eal.py
@@ -282,7 +282,8 @@ class TestUnitTestsEal(TestCase):
         """
 
         self.dut.send_expect(self.test_app_cmdline + ' -m 64', "R.*T.*E.*>.*>", self.start_test_time)
-        out = self.dut.send_expect("eal_flags_autotest", "RTE>>", self.run_cmd_time)
+        #on FreeBSd test_flags need more time than other 
+        out = self.dut.send_expect("eal_flags_autotest", "RTE>>", 600)
         self.dut.send_expect("quit", "# ")
         self.verify("Test OK" in out, "Test failed")
 
diff --git a/tests/TestSuite_unit_tests_mbuf.py b/tests/TestSuite_unit_tests_mbuf.py
index 4fd660d..f1fce78 100644
--- a/tests/TestSuite_unit_tests_mbuf.py
+++ b/tests/TestSuite_unit_tests_mbuf.py
@@ -69,7 +69,7 @@ class TestUnitTestsMbuf(TestCase):
         """
 
         self.dut.send_expect("./%s/app/test -n 1 -c f" % self.target, "R.*T.*E.*>.*>", 60)
-        out = self.dut.send_expect("mbuf_autotest", "RTE>>", 60)
+        out = self.dut.send_expect("mbuf_autotest", "RTE>>", 180)
         self.dut.send_expect("quit", "# ")
         self.verify("Test OK" in out, "Test failed")
 
-- 
1.9.3

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dts] [PATCH V2] fix timeout on FreeBSD error
  2016-12-28  2:50 [dts] [PATCH V2] fix timeout on FreeBSD error xu,gang
@ 2016-12-28  5:04 ` Liu, Yong
  0 siblings, 0 replies; 2+ messages in thread
From: Liu, Yong @ 2016-12-28  5:04 UTC (permalink / raw)
  To: xu,gang, dts

Thanks gang, applied.

On 12/28/2016 10:50 AM, xu,gang wrote:
> Signed-off-by: xu,gang <gangx.xu@intel.com>
> ---
>   tests/TestSuite_unit_tests_eal.py  | 3 ++-
>   tests/TestSuite_unit_tests_mbuf.py | 2 +-
>   2 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/tests/TestSuite_unit_tests_eal.py b/tests/TestSuite_unit_tests_eal.py
> index d27ba39..bebb00b 100644
> --- a/tests/TestSuite_unit_tests_eal.py
> +++ b/tests/TestSuite_unit_tests_eal.py
> @@ -282,7 +282,8 @@ class TestUnitTestsEal(TestCase):
>           """
>   
>           self.dut.send_expect(self.test_app_cmdline + ' -m 64', "R.*T.*E.*>.*>", self.start_test_time)
> -        out = self.dut.send_expect("eal_flags_autotest", "RTE>>", self.run_cmd_time)
> +        #on FreeBSd test_flags need more time than other
> +        out = self.dut.send_expect("eal_flags_autotest", "RTE>>", 600)
>           self.dut.send_expect("quit", "# ")
>           self.verify("Test OK" in out, "Test failed")
>   
> diff --git a/tests/TestSuite_unit_tests_mbuf.py b/tests/TestSuite_unit_tests_mbuf.py
> index 4fd660d..f1fce78 100644
> --- a/tests/TestSuite_unit_tests_mbuf.py
> +++ b/tests/TestSuite_unit_tests_mbuf.py
> @@ -69,7 +69,7 @@ class TestUnitTestsMbuf(TestCase):
>           """
>   
>           self.dut.send_expect("./%s/app/test -n 1 -c f" % self.target, "R.*T.*E.*>.*>", 60)
> -        out = self.dut.send_expect("mbuf_autotest", "RTE>>", 60)
> +        out = self.dut.send_expect("mbuf_autotest", "RTE>>", 180)
>           self.dut.send_expect("quit", "# ")
>           self.verify("Test OK" in out, "Test failed")
>   

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-12-28  5:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-28  2:50 [dts] [PATCH V2] fix timeout on FreeBSD error xu,gang
2016-12-28  5:04 ` Liu, Yong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).