From: Xiao Qimai <qimaix.xiao@intel.com>
To: dts@dpdk.org
Cc: Xiao Qimai <qimaix.xiao@intel.com>
Subject: [dts] [PATCH V2]flow_filtering: check where flow launched normally
Date: Mon, 9 Dec 2019 17:53:40 +0800 [thread overview]
Message-ID: <1575885220-222176-1-git-send-email-qimaix.xiao@intel.com> (raw)
verify whether flow get up normally
Signed-off-by: Xiao Qimai <qimaix.xiao@intel.com>
---
tests/TestSuite_flow_filtering.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/TestSuite_flow_filtering.py b/tests/TestSuite_flow_filtering.py
index 80f5d86..29ae1ed 100644
--- a/tests/TestSuite_flow_filtering.py
+++ b/tests/TestSuite_flow_filtering.py
@@ -58,7 +58,8 @@ class TestFlowFiltering(TestCase):
"""
Run before each test case.
"""
- self.dut.send_expect("./examples/flow_filtering/build/flow -l 1 -n 1", "initializing port", 100)
+ out = self.dut.send_command("./examples/flow_filtering/build/flow -l 1 -n 1", timeout=15)
+ self.verify("Error" not in out, "flow launch failed")
def send_packet(self, pkg):
"""
--
2.17.1
next reply other threads:[~2019-12-09 9:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-09 9:53 Xiao Qimai [this message]
2019-12-19 7:52 ` 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=1575885220-222176-1-git-send-email-qimaix.xiao@intel.com \
--to=qimaix.xiao@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).