From: "Ma, LihongX" <lihongx.ma@intel.com>
To: "Zhang, XiX" <xix.zhang@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Cc: "Zhang, XiX" <xix.zhang@intel.com>
Subject: Re: [dts] [PATCH V2] tests/TestSuite_cbdma:fixed-session-error
Date: Fri, 16 Oct 2020 08:48:46 +0000 [thread overview]
Message-ID: <BN8PR11MB371567E433A9916AB92E30FB9E030@BN8PR11MB3715.namprd11.prod.outlook.com> (raw)
In-Reply-To: <1602833059-13321-1-git-send-email-xix.zhang@intel.com>
> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of xizhan4x
> Sent: Friday, October 16, 2020 3:24 PM
> To: dts@dpdk.org
> Cc: Zhang, XiX <xix.zhang@intel.com>
> Subject: [dts] [PATCH V2] tests/TestSuite_cbdma:fixed-session-error
>
> v1:fixed session error
> v2:fixed session error and close new session
>
> Signed-off-by: xizhan4x <xix.zhang@intel.com>
> ---
> def tear_down_all(self):
> """
> Run after each test suite.
> """
> + self.dut.close_session(self.send_session)
> self.bind_cbdma_device_to_kernel()
> --
> 1.8.3.1
You create the new session in set_up, but destroy it in tear_down_all.
It will invite a issue of create many sessions but only close one in them.
Regards,
Ma,lihong
prev parent reply other threads:[~2020-10-16 8:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-16 7:24 xizhan4x
2020-10-16 7:26 ` Zhang, XiX
2020-10-16 8:48 ` Ma, LihongX [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=BN8PR11MB371567E433A9916AB92E30FB9E030@BN8PR11MB3715.namprd11.prod.outlook.com \
--to=lihongx.ma@intel.com \
--cc=dts@dpdk.org \
--cc=xix.zhang@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).