From: "Tu, Lijuan" <lijuan.tu@intel.com>
To: "Zeng, XiaoxiaoX" <xiaoxiaox.zeng@intel.com>,
"dts@dpdk.org" <dts@dpdk.org>
Cc: "Zeng, XiaoxiaoX" <xiaoxiaox.zeng@intel.com>
Subject: Re: [dts] [PATCH V1] tests/generic_filter: add timeout when quit testpmd
Date: Mon, 4 Nov 2019 02:56:47 +0000 [thread overview]
Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BB5D3CB@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <20191024191748.31906-1-xiaoxiaox.zeng@intel.com>
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Xiaoxiao Zeng
> Sent: Friday, October 25, 2019 3:18 AM
> To: dts@dpdk.org
> Cc: Zeng, XiaoxiaoX <xiaoxiaox.zeng@intel.com>
> Subject: [dts] [PATCH V1] tests/generic_filter: add timeout when quit
> testpmd
>
> *.quit testpmd need more time to run.
>
> Signed-off-by: Xiaoxiao Zeng <xiaoxiaox.zeng@intel.com>
> ---
> tests/TestSuite_generic_filter.py | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/tests/TestSuite_generic_filter.py
> b/tests/TestSuite_generic_filter.py
> index 4f14fc1..3eb3123 100644
> --- a/tests/TestSuite_generic_filter.py
> +++ b/tests/TestSuite_generic_filter.py
> @@ -237,7 +237,7 @@ class TestGeneric_filter(TestCase):
> out = self.dut.send_expect("stop", "testpmd> ")
>
> self.verify_result(out, tx_pkts="1", expect_queue="0")
> - self.dut.send_expect("quit", "#")
> + self.dut.send_expect("quit", "#", timeout=30)
>
> def test_priority_filter(self):
> """
> @@ -364,7 +364,7 @@ class TestGeneric_filter(TestCase):
> self.filter_send_packet("fivetuple")
> out = self.dut.send_expect("stop", "testpmd> ")
> self.verify_result(out, tx_pkts="1", expect_queue="0")
> - self.dut.send_expect("quit", "#")
> + self.dut.send_expect("quit", "#", timeout=30)
> else:
> self.verify(False, "%s nic not support syn filter" % self.nic)
>
> @@ -761,7 +761,7 @@ class TestGeneric_filter(TestCase):
> if int(cur_pkt) != frames_to_send:
> packet_flag = 0
> break
> - self.dut.send_expect("quit", "#")
> + self.dut.send_expect("quit", "#", timeout=30)
> self.dut.send_expect("sed -i -e 's/#define
> IXGBE_NONE_MODE_TX_NB_QUEUES 128$/#define
> IXGBE_NONE_MODE_TX_NB_QUEUES 64/'
> drivers/net/ixgbe/ixgbe_ethdev.h", "# ",30)
> self.dut.build_install_dpdk(self.target)
> self.verify(set_filter_flag == 1, "set filters error")
> --
> 2.17.0
prev parent reply other threads:[~2019-11-04 2:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-24 19:17 Xiaoxiao Zeng
2019-11-04 2:56 ` Tu, Lijuan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8CE3E05A3F976642AAB0F4675D0AD20E0BB5D3CB@SHSMSX101.ccr.corp.intel.com \
--to=lijuan.tu@intel.com \
--cc=dts@dpdk.org \
--cc=xiaoxiaox.zeng@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).