From: Xiaoxiao Zeng <xiaoxiaox.zeng@intel.com>
To: dts@dpdk.org
Cc: Xiaoxiao Zeng <xiaoxiaox.zeng@intel.com>
Subject: [dts] [PATCH V1] tests/generic_filter: add timeout when quit testpmd
Date: Fri, 25 Oct 2019 03:17:48 +0800 [thread overview]
Message-ID: <20191024191748.31906-1-xiaoxiaox.zeng@intel.com> (raw)
*.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
next reply other threads:[~2019-10-24 7:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-24 19:17 Xiaoxiao Zeng [this message]
2019-11-04 2:56 ` Tu, Lijuan
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=20191024191748.31906-1-xiaoxiaox.zeng@intel.com \
--to=xiaoxiaox.zeng@intel.com \
--cc=dts@dpdk.org \
/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).