test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH] add time for scapy exec
@ 2015-11-04  8:18 Lijuan Tu
  2015-11-04  8:49 ` Liu, Yong
  0 siblings, 1 reply; 2+ messages in thread
From: Lijuan Tu @ 2015-11-04  8:18 UTC (permalink / raw)
  To: dts

Signed-off-by: Lijuan Tu <lijuanx.a.tu@intel.com>
---
 framework/tester.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/framework/tester.py b/framework/tester.py
index 1f4f7ae..851c726 100644
--- a/framework/tester.py
+++ b/framework/tester.py
@@ -367,12 +367,12 @@ class Tester(Crb):
         if self.bgProcIsRunning:
             self.send_expect('subprocess.call("scapy -c sniff.py &", shell=True)', ">>> ")
             self.bgProcIsRunning = False
-        sleep(2)
+        sleep(10)
 
         for cmd in self.scapyCmds:
             self.send_expect(cmd, ">>> ", timeout)
 
-        sleep(2)
+        sleep(10)
         self.scapyCmds = []
         self.send_expect("exit()", "# ")
 
-- 
1.9.3

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

* Re: [dts] [PATCH] add time for scapy exec
  2015-11-04  8:18 [dts] [PATCH] add time for scapy exec Lijuan Tu
@ 2015-11-04  8:49 ` Liu, Yong
  0 siblings, 0 replies; 2+ messages in thread
From: Liu, Yong @ 2015-11-04  8:49 UTC (permalink / raw)
  To: Tu, LijuanX A, dts

Hi Lijuan,
It will waste our time to waiting 20 seconds in every execution command.  Maybe we can add one parameter for the timeout value. 

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Lijuan Tu
> Sent: Wednesday, November 04, 2015 4:18 PM
> To: dts@dpdk.org
> Subject: [dts] [PATCH] add time for scapy exec
> 
> Signed-off-by: Lijuan Tu <lijuanx.a.tu@intel.com>
> ---
>  framework/tester.py | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/framework/tester.py b/framework/tester.py
> index 1f4f7ae..851c726 100644
> --- a/framework/tester.py
> +++ b/framework/tester.py
> @@ -367,12 +367,12 @@ class Tester(Crb):
>          if self.bgProcIsRunning:
>              self.send_expect('subprocess.call("scapy -c sniff.py &",
> shell=True)', ">>> ")
>              self.bgProcIsRunning = False
> -        sleep(2)
> +        sleep(10)
> 
>          for cmd in self.scapyCmds:
>              self.send_expect(cmd, ">>> ", timeout)
> 
> -        sleep(2)
> +        sleep(10)
>          self.scapyCmds = []
>          self.send_expect("exit()", "# ")
> 
> --
> 1.9.3

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

end of thread, other threads:[~2015-11-04  8:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-04  8:18 [dts] [PATCH] add time for scapy exec Lijuan Tu
2015-11-04  8:49 ` 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).