[V1,2/3] tests/vm2vm_virtio_pmd: delete invalid parameter

Message ID 20210329022549.21147-1-weix.ling@intel.com (mailing list archive)
State Accepted
Headers
Series delete invalid parameter |

Commit Message

Ling, WeiX March 29, 2021, 2:25 a.m. UTC
  Delete invalid parameter 'ports=[self.pci_info]' because of
use 'no_pci=True' means not use any pci.

Signed-off-by: Ling Wei <weix.ling@intel.com>
---
 tests/TestSuite_vm2vm_virtio_pmd.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/tests/TestSuite_vm2vm_virtio_pmd.py b/tests/TestSuite_vm2vm_virtio_pmd.py
index 9cb51a8d..67e23666 100644
--- a/tests/TestSuite_vm2vm_virtio_pmd.py
+++ b/tests/TestSuite_vm2vm_virtio_pmd.py
@@ -93,7 +93,7 @@  class TestVM2VMVirtioPMD(TestCase):
         testcmd = self.app_testpmd_path + " "
         vdev1 = "--vdev 'net_vhost0,iface=%s/vhost-net0,queues=1' " % self.base_dir
         vdev2 = "--vdev 'net_vhost1,iface=%s/vhost-net1,queues=1' " % self.base_dir
-        eal_params = self.dut.create_eal_parameters(cores=vhost_mask, no_pci=True, prefix='vhost', ports=[self.pci_info])
+        eal_params = self.dut.create_eal_parameters(cores=vhost_mask, no_pci=True, prefix='vhost')
         para = " -- -i --nb-cores=1 --txd=1024 --rxd=1024"
         self.command_line = testcmd + eal_params + vdev1 + vdev2 + para
         self.vhost_user.send_expect(self.command_line, "testpmd> ", 30)