test suite reviews and discussions
 help / color / 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, back to index

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

test suite reviews and discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ http://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/ public-inbox