[dts] [PATCH V2] tests/TestSuite_cbdma:fixed-session-error
Ma, LihongX
lihongx.ma at intel.com
Fri Oct 16 10:48:46 CEST 2020
> -----Original Message-----
> From: dts <dts-bounces at dpdk.org> On Behalf Of xizhan4x
> Sent: Friday, October 16, 2020 3:24 PM
> To: dts at dpdk.org
> Cc: Zhang, XiX <xix.zhang at 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 at 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
More information about the dts
mailing list