test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH] tests/mempool_exthandler: stop l2fwd on DUT after each test.
@ 2018-06-15  9:00 Phil Yang
  2018-06-20 15:11 ` Liu, Yong
  0 siblings, 1 reply; 2+ messages in thread
From: Phil Yang @ 2018-06-15  9:00 UTC (permalink / raw)
  To: dts; +Cc: nd, phil.yang

Stop l2fwd to clean up DUT after each test case.

Signed-off-by: Phil Yang <phil.yang@arm.com>
---
 tests/TestSuite_mempool_exthandler.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/TestSuite_mempool_exthandler.py b/tests/TestSuite_mempool_exthandler.py
index bbd8761..10fbd1d 100644
--- a/tests/TestSuite_mempool_exthandler.py
+++ b/tests/TestSuite_mempool_exthandler.py
@@ -114,6 +114,7 @@ class TestMemExthandler(TestCase):
 
         # strip rx/tx statistic from l2fwd output
         out = self.dut.get_session_output()
+        self.dut.send_expect("^C", "#", 30)
         sent_list = utils.regexp(out, r"Total packets sent:(\s+)(\d+)", allString=True)
         total_sent = int(sent_list[-1][1])
         rcv_list = utils.regexp(out, r"Total packets received:(\s+)(\d+)", allString=True)
-- 
2.7.4

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

* Re: [dts] [PATCH] tests/mempool_exthandler: stop l2fwd on DUT after each test.
  2018-06-15  9:00 [dts] [PATCH] tests/mempool_exthandler: stop l2fwd on DUT after each test Phil Yang
@ 2018-06-20 15:11 ` Liu, Yong
  0 siblings, 0 replies; 2+ messages in thread
From: Liu, Yong @ 2018-06-20 15:11 UTC (permalink / raw)
  To: dts-bounces, dts; +Cc: nd, phil.yang

Thanks, Phil. Applied.

On 06/15/2018 05:00 PM, dts-bounces@dpdk.org wrote:
> Stop l2fwd to clean up DUT after each test case.
>
> Signed-off-by: Phil Yang<phil.yang@arm.com>

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

end of thread, other threads:[~2018-06-20  7:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-15  9:00 [dts] [PATCH] tests/mempool_exthandler: stop l2fwd on DUT after each test Phil Yang
2018-06-20 15:11 ` 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).