test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH] get packet's content in pmdrssreta
@ 2016-07-18 11:24 pengyuan
  2016-07-25  8:41 ` Liu, Yong
  0 siblings, 1 reply; 2+ messages in thread
From: pengyuan @ 2016-07-18 11:24 UTC (permalink / raw)
  To: dts; +Cc: pengyuan

Signed-off-by: pengyuan <yuan.peng@intel.com>

diff --git a/tests/TestSuite_pmdrssreta.py b/tests/TestSuite_pmdrssreta.py
index 6445330..653f8c0 100644
--- a/tests/TestSuite_pmdrssreta.py
+++ b/tests/TestSuite_pmdrssreta.py
@@ -104,8 +104,8 @@ class TestPmdrssreta(TestCase):
                 time.sleep(.5)
         else:
             print "\ntran_type error!\n"
-
-        out = self.dut.send_expect("stop", "testpmd>")
+        out = self.dut.get_session_output(timeout=1)
+        self.dut.send_expect("stop", "testpmd>")
         lines = out.split("\r\n")
         reta_line = {}
 
-- 
1.8.3.1

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

* Re: [dts] [PATCH] get packet's content in pmdrssreta
  2016-07-18 11:24 [dts] [PATCH] get packet's content in pmdrssreta pengyuan
@ 2016-07-25  8:41 ` Liu, Yong
  0 siblings, 0 replies; 2+ messages in thread
From: Liu, Yong @ 2016-07-25  8:41 UTC (permalink / raw)
  To: pengyuan, dts

Thanks, applied.

On 07/18/2016 07:24 PM, pengyuan wrote:
> Signed-off-by: pengyuan <yuan.peng@intel.com>
>
> diff --git a/tests/TestSuite_pmdrssreta.py b/tests/TestSuite_pmdrssreta.py
> index 6445330..653f8c0 100644
> --- a/tests/TestSuite_pmdrssreta.py
> +++ b/tests/TestSuite_pmdrssreta.py
> @@ -104,8 +104,8 @@ class TestPmdrssreta(TestCase):
>                   time.sleep(.5)
>           else:
>               print "\ntran_type error!\n"
> -
> -        out = self.dut.send_expect("stop", "testpmd>")
> +        out = self.dut.get_session_output(timeout=1)
> +        self.dut.send_expect("stop", "testpmd>")
>           lines = out.split("\r\n")
>           reta_line = {}
>   

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

end of thread, other threads:[~2016-07-25  8:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-18 11:24 [dts] [PATCH] get packet's content in pmdrssreta pengyuan
2016-07-25  8:41 ` 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).