* [dts][PATCH V1] tests/ice_iavf_fdir: optimize scripts
@ 2022-12-15 14:00 Hongbo Li
2022-12-21 9:22 ` Jiale, SongX
2022-12-22 8:46 ` lijuan.tu
0 siblings, 2 replies; 3+ messages in thread
From: Hongbo Li @ 2022-12-15 14:00 UTC (permalink / raw)
To: dts; +Cc: Hongbo Li
If testcase of throws an exception, and multiple testpmds have been started, the vf cannot be cleaned, and cause other cases to fail.
Therefore, by adjusting the cleaning environment order, make sure to exit all sessions before cleaning vf.
Signed-off-by: Hongbo Li <hongbox.li@intel.com>
---
tests/TestSuite_ice_iavf_fdir.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/TestSuite_ice_iavf_fdir.py b/tests/TestSuite_ice_iavf_fdir.py
index d6ca832a..b7954784 100644
--- a/tests/TestSuite_ice_iavf_fdir.py
+++ b/tests/TestSuite_ice_iavf_fdir.py
@@ -11932,12 +11932,12 @@ class TestICEIAVFFdir(TestCase):
"test_mac_ipv6_multicast_protocol",
]:
self.pmd_output.execute_cmd("mcast_addr remove 0 11:22:33:44:55:66")
- self.destroy_env()
- self.dut.kill_all()
if getattr(self, "session_secondary", None):
self.dut.close_session(self.session_secondary)
if getattr(self, "session_third", None):
self.dut.close_session(self.session_third)
+ self.destroy_env()
+ self.dut.kill_all()
if self.running_case in [
"test_pfcp_vlan_strip_off_sw_checksum",
--
2.17.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [dts][PATCH V1] tests/ice_iavf_fdir: optimize scripts
2022-12-15 14:00 [dts][PATCH V1] tests/ice_iavf_fdir: optimize scripts Hongbo Li
@ 2022-12-21 9:22 ` Jiale, SongX
2022-12-22 8:46 ` lijuan.tu
1 sibling, 0 replies; 3+ messages in thread
From: Jiale, SongX @ 2022-12-21 9:22 UTC (permalink / raw)
To: Li, HongboX, dts; +Cc: Li, HongboX
> -----Original Message-----
> From: Hongbo Li <hongbox.li@intel.com>
> Sent: Thursday, December 15, 2022 10:00 PM
> To: dts@dpdk.org
> Cc: Li, HongboX <hongbox.li@intel.com>
> Subject: [dts][PATCH V1] tests/ice_iavf_fdir: optimize scripts
>
> If testcase of throws an exception, and multiple testpmds have been started,
> the vf cannot be cleaned, and cause other cases to fail.
> Therefore, by adjusting the cleaning environment order, make sure to exit all
> sessions before cleaning vf.
>
> Signed-off-by: Hongbo Li <hongbox.li@intel.com>
> ---
Tested-by: Song Jiale <songx.jiale@intel.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [dts][PATCH V1] tests/ice_iavf_fdir: optimize scripts
2022-12-15 14:00 [dts][PATCH V1] tests/ice_iavf_fdir: optimize scripts Hongbo Li
2022-12-21 9:22 ` Jiale, SongX
@ 2022-12-22 8:46 ` lijuan.tu
1 sibling, 0 replies; 3+ messages in thread
From: lijuan.tu @ 2022-12-22 8:46 UTC (permalink / raw)
To: dts, Hongbo Li; +Cc: Hongbo Li
On Thu, 15 Dec 2022 22:00:11 +0800, Hongbo Li <hongbox.li@intel.com> wrote:
> If testcase of throws an exception, and multiple testpmds have been started, the vf cannot be cleaned, and cause other cases to fail.
> Therefore, by adjusting the cleaning environment order, make sure to exit all sessions before cleaning vf.
>
> Signed-off-by: Hongbo Li <hongbox.li@intel.com>
Acked-by: Lijuan Tu <lijuan.tu@intel.com>
Applied, thanks
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-12-22 8:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-15 14:00 [dts][PATCH V1] tests/ice_iavf_fdir: optimize scripts Hongbo Li
2022-12-21 9:22 ` Jiale, SongX
2022-12-22 8:46 ` lijuan.tu
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).