test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/tso: tcpdump takes more time
@ 2019-08-13 17:44 Wenjie Li
  2019-08-15  6:01 ` Li, WenjieX A
  0 siblings, 1 reply; 2+ messages in thread
From: Wenjie Li @ 2019-08-13 17:44 UTC (permalink / raw)
  To: dts; +Cc: Wenjie Li

on some platforms, tcpdump(scanner) takes more time, set the timeout
threshold to 30s.

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

diff --git a/tests/TestSuite_tso.py b/tests/TestSuite_tso.py
index 36e00fe..4faf266 100644
--- a/tests/TestSuite_tso.py
+++ b/tests/TestSuite_tso.py
@@ -153,7 +153,7 @@ class TestTSO(TestCase):
         """
         Execute scanner to return results
         """
-        scanner_result = self.tester.send_expect(scanner, '#')
+        scanner_result = self.tester.send_expect(scanner, '#', 30)
         fially_result = re.findall(r'length( \d+)', scanner_result)
         return list(fially_result)
 
-- 
2.17.1


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

* Re: [dts] [PATCH V1] tests/tso: tcpdump takes more time
  2019-08-13 17:44 [dts] [PATCH V1] tests/tso: tcpdump takes more time Wenjie Li
@ 2019-08-15  6:01 ` Li, WenjieX A
  0 siblings, 0 replies; 2+ messages in thread
From: Li, WenjieX A @ 2019-08-15  6:01 UTC (permalink / raw)
  To: dts; +Cc: Li, WenjieX A

Tested-by: Li, WenjieX A <wenjiex.a.li@intel.com>

> -----Original Message-----
> From: Li, WenjieX A
> Sent: Wednesday, August 14, 2019 1:44 AM
> To: dts@dpdk.org
> Cc: Li, WenjieX A <wenjiex.a.li@intel.com>
> Subject: [dts][PATCH V1] tests/tso: tcpdump takes more time
> 
> on some platforms, tcpdump(scanner) takes more time, set the timeout
> threshold to 30s.
> 
> Signed-off-by: Wenjie Li <wenjiex.a.li@intel.com>
> ---
>  tests/TestSuite_tso.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_tso.py b/tests/TestSuite_tso.py index
> 36e00fe..4faf266 100644
> --- a/tests/TestSuite_tso.py
> +++ b/tests/TestSuite_tso.py
> @@ -153,7 +153,7 @@ class TestTSO(TestCase):
>          """
>          Execute scanner to return results
>          """
> -        scanner_result = self.tester.send_expect(scanner, '#')
> +        scanner_result = self.tester.send_expect(scanner, '#', 30)
>          fially_result = re.findall(r'length( \d+)', scanner_result)
>          return list(fially_result)
> 
> --
> 2.17.1


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

end of thread, other threads:[~2019-08-15  6:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-13 17:44 [dts] [PATCH V1] tests/tso: tcpdump takes more time Wenjie Li
2019-08-15  6:01 ` Li, WenjieX A

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).