[V1] tests/loopback_virtio_user_server_mode: remove command unbind ports

Message ID 20221230090108.12877-1-dukaix.yuan@intel.com (mailing list archive)
State Accepted
Headers
Series [V1] tests/loopback_virtio_user_server_mode: remove command unbind ports |

Checks

Context Check Description
ci/Intel-dts-format-test success Testing OK
ci/Intel-dts-pylama-test success Testing OK
ci/Intel-dts-suite-test success Testing OK

Commit Message

Yuan, DukaiX Dec. 30, 2022, 9:01 a.m. UTC
  Delete unbind ports steps as this testsuite no need NIC port.

Signed-off-by: Dukai Yuan <dukaix.yuan@intel.com>
---
 tests/TestSuite_loopback_virtio_user_server_mode.py | 2 --
 1 file changed, 2 deletions(-)
  

Comments

Tu, Lijuan Jan. 4, 2023, 1:35 a.m. UTC | #1
On Fri, 30 Dec 2022 17:01:08 +0800, Dukai Yuan <dukaix.yuan@intel.com> wrote:
> Delete unbind ports steps as this testsuite no need NIC port.
> 
> Signed-off-by: Dukai Yuan <dukaix.yuan@intel.com>


Applied, thanks
  

Patch

diff --git a/tests/TestSuite_loopback_virtio_user_server_mode.py b/tests/TestSuite_loopback_virtio_user_server_mode.py
index 31145b25..b05c8394 100644
--- a/tests/TestSuite_loopback_virtio_user_server_mode.py
+++ b/tests/TestSuite_loopback_virtio_user_server_mode.py
@@ -28,8 +28,6 @@  class TestLoopbackVirtioUserServerMode(TestCase):
             self.cores_num >= 6, "There has not enought cores to test this case"
         )
         self.dut_ports = self.dut.get_ports()
-        self.unbind_ports = copy.deepcopy(self.dut_ports)
-        self.dut.unbind_interfaces_linux(self.unbind_ports)
         self.ports_socket = self.dut.get_numa_id(self.dut_ports[0])
         self.core_list = self.dut.get_core_list(
             self.core_config, socket=self.ports_socket