test suite reviews and discussions
 help / color / Atom feed
* [dts] [PATCH] l2fwd: Kill l2fwd at end of test in case of running.
@ 2019-07-31  6:21 pvukkisala
  2019-08-06  9:36 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: pvukkisala @ 2019-07-31  6:21 UTC (permalink / raw)
  To: dts; +Cc: avijay, fmasood, Phanendra Vukkisala

From: Phanendra Vukkisala <pvukkisala@marvell.com>

Avoids failure of next tests, if l2fwd test is failed to kill because of
other exceptions

Signed-off-by: Phanendra Vukkisala <pvukkisala@marvell.com>
---
 tests/TestSuite_l2fwd.py |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/TestSuite_l2fwd.py b/tests/TestSuite_l2fwd.py
index 4908fb7..b064afd 100644
--- a/tests/TestSuite_l2fwd.py
+++ b/tests/TestSuite_l2fwd.py
@@ -241,7 +241,8 @@ class TestL2fwd(TestCase):
         """
         Run after each test case.
         """
-        pass
+        self.dut.send_expect("fg", "l2fwd|# ", 5)
+        self.dut.send_expect("^C", "# ", 5)
 
     def tear_down_all(self):
         """
-- 
1.7.9.5


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

* Re: [dts] [PATCH] l2fwd: Kill l2fwd at end of test in case of running.
  2019-07-31  6:21 [dts] [PATCH] l2fwd: Kill l2fwd at end of test in case of running pvukkisala
@ 2019-08-06  9:36 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2019-08-06  9:36 UTC (permalink / raw)
  To: pvukkisala, dts; +Cc: avijay, fmasood

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of
> pvukkisala@marvell.com
> Sent: Wednesday, July 31, 2019 2:21 PM
> To: dts@dpdk.org
> Cc: avijay@marvell.com; fmasood@marvell.com; Phanendra Vukkisala
> <pvukkisala@marvell.com>
> Subject: [dts] [PATCH] l2fwd: Kill l2fwd at end of test in case of running.
> 
> From: Phanendra Vukkisala <pvukkisala@marvell.com>
> 
> Avoids failure of next tests, if l2fwd test is failed to kill because of other
> exceptions
> 
> Signed-off-by: Phanendra Vukkisala <pvukkisala@marvell.com>
> ---
>  tests/TestSuite_l2fwd.py |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_l2fwd.py b/tests/TestSuite_l2fwd.py index
> 4908fb7..b064afd 100644
> --- a/tests/TestSuite_l2fwd.py
> +++ b/tests/TestSuite_l2fwd.py
> @@ -241,7 +241,8 @@ class TestL2fwd(TestCase):
>          """
>          Run after each test case.
>          """
> -        pass
> +        self.dut.send_expect("fg", "l2fwd|# ", 5)
> +        self.dut.send_expect("^C", "# ", 5)
> 
>      def tear_down_all(self):
>          """
> --
> 1.7.9.5


^ 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-07-31  6:21 [dts] [PATCH] l2fwd: Kill l2fwd at end of test in case of running pvukkisala
2019-08-06  9:36 ` Tu, Lijuan

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