From: Xia Yan <yanx.xia@intel.com>
To: dts@dpdk.org
Cc: Xia Yan <yanx.xia@intel.com>
Subject: [dts] [PATCH V1] tests/TestSuite_multiple_pthread:traverse list and pass parameters
Date: Tue, 19 Jan 2021 15:40:18 +0800 [thread overview]
Message-ID: <20210119074018.29602-1-yanx.xia@intel.com> (raw)
traverse list and pass parameters
Signed-off-by: Xia Yan <yanx.xia@intel.com>
---
tests/TestSuite_multiple_pthread.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/TestSuite_multiple_pthread.py b/tests/TestSuite_multiple_pthread.py
index 5d4a1f67..8d9dc3f7 100644
--- a/tests/TestSuite_multiple_pthread.py
+++ b/tests/TestSuite_multiple_pthread.py
@@ -231,7 +231,8 @@ class TestMultiplePthread(TestCase):
Run after each test case.
"""
if len(self.send_sessions) != 0:
- self.pkt.stop_send_pkt_bg(self.send_sessions)
+ for session in self.send_sessions:
+ self.pkt.stop_send_pkt_bg(session)
self.dut.kill_all()
def tear_down_all(self):
--
2.17.1
next reply other threads:[~2021-01-19 7:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-19 7:40 Xia Yan [this message]
2021-01-19 9:13 ` Zhao, HaiyangX
2021-01-21 8:10 ` 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=20210119074018.29602-1-yanx.xia@intel.com \
--to=yanx.xia@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).