From: "Tu, Lijuan" <lijuan.tu@intel.com>
To: "Yuan, DukaiX" <dukaix.yuan@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Cc: "Yuan, DukaiX" <dukaix.yuan@intel.com>
Subject: RE: [dts][PATCH V2] tests/multiprocess modify the regular expression
Date: Fri, 2 Sep 2022 01:36:07 +0000 [thread overview]
Message-ID: <CY5PR11MB61873E2AD3CF07CA27EF989EF57A9@CY5PR11MB6187.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20220830081231.1255-1-dukaix.yuan@intel.com>
> -----Original Message-----
> From: Dukai Yuan <dukaix.yuan@intel.com>
> Sent: Tuesday, August 30, 2022 4:13 PM
> To: dts@dpdk.org
> Cc: Yuan, DukaiX <dukaix.yuan@intel.com>
> Subject: [dts][PATCH V2] tests/multiprocess modify the regular expression
>
> Modify re.search to re.findall to get all the list.
>
> Signed-off-by: Dukai Yuan <dukaix.yuan@intel.com>
> ---
> tests/TestSuite_multiprocess.py | 10 +++++++---
> 1 file changed, 7 insertions(+), 3 deletions(-)
>
> diff --git a/tests/TestSuite_multiprocess.py b/tests/TestSuite_multiprocess.py
> index da382a41..3d408ea9 100644
> --- a/tests/TestSuite_multiprocess.py
> +++ b/tests/TestSuite_multiprocess.py
> @@ -175,6 +175,7 @@ class TestMultiprocess(TestCase):
> pktnum=pkt_num,
> dstmac="00:11:22:33:44:55",
> )
> + time.sleep(3)
It's not a good idea to wait 3 second, another option is to wait for the specific event which it requires.
next prev parent reply other threads:[~2022-09-02 1:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-30 8:12 Dukai Yuan
2022-09-02 1:36 ` Tu, Lijuan [this message]
2022-10-09 5:39 Dukai Yuan
2022-10-09 6:17 Dukai Yuan
2022-10-10 3:36 ` lijuan.tu
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=CY5PR11MB61873E2AD3CF07CA27EF989EF57A9@CY5PR11MB6187.namprd11.prod.outlook.com \
--to=lijuan.tu@intel.com \
--cc=dts@dpdk.org \
--cc=dukaix.yuan@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).