[V3] tests/iavf_fdir: optimization script
Checks
Context |
Check |
Description |
ci/Intel-dts-suite-test |
warning
|
SKIPPED
|
Commit Message
initialize pf. because pf is not initialized after case test, other case tests fail
Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
tests/TestSuite_iavf_fdir.py | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
mode change 100755 => 100644 tests/TestSuite_iavf_fdir.py
Comments
> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Jiale Song
> Sent: 2021年11月9日 10:32
> To: dts@dpdk.org
> Cc: Jiale, SongX <songx.jiale@intel.com>
> Subject: [dts] [PATCH V3] tests/iavf_fdir: optimization script
>
> initialize pf. because pf is not initialized after case test, other case tests fail
>
> Signed-off-by: Jiale Song <songx.jiale@intel.com>
Applied
old mode 100755
new mode 100644
@@ -7593,6 +7593,7 @@ class TestIAVFFdir(TestCase):
"""
Run before each test case.
"""
+ self.dut.restore_interfaces_linux()
self.setup_2pf_4vf_env()
time.sleep(1)
self.launch_testpmd()
@@ -8343,8 +8344,6 @@ class TestIAVFFdir(TestCase):
"""
create same rules on pf and vf, no conflict
"""
- self.dut.kill_all()
- self.setup_2pf_4vf_env()
self.session_secondary = self.dut.new_session()
self.session_third = self.dut.new_session()
@@ -8495,8 +8494,6 @@ class TestIAVFFdir(TestCase):
"""
create same input set but different action rules on pf and vf, no conflict.
"""
- self.dut.kill_all()
- self.setup_2pf_4vf_env()
self.session_secondary = self.dut.new_session()
self.session_third = self.dut.new_session()
@@ -8649,7 +8646,6 @@ class TestIAVFFdir(TestCase):
"""
create different rules on pf and vf
"""
- self.dut.kill_all()
self.session_secondary = self.dut.new_session()
self.session_third = self.dut.new_session()