[V1,3/3] tests/pvp_vhost_user_reconnect: delete invalid parameter

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

Commit Message

Ling, WeiX March 29, 2021, 2:26 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_pvp_vhost_user_reconnect.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
  

Patch

diff --git a/tests/TestSuite_pvp_vhost_user_reconnect.py b/tests/TestSuite_pvp_vhost_user_reconnect.py
index fcf8cae8..bd1f3937 100644
--- a/tests/TestSuite_pvp_vhost_user_reconnect.py
+++ b/tests/TestSuite_pvp_vhost_user_reconnect.py
@@ -118,8 +118,7 @@  class TestPVPVhostUserReconnect(TestCase):
         for i in range(self.vm_num):
             vdev_info += "--vdev 'net_vhost%d,iface=vhost-net%d,client=1,queues=1' " % (i, i)
         testcmd = self.dut.base_dir + "/%s" % self.path
-        eal_params = self.dut.create_eal_parameters(cores=self.cores, no_pci=True, prefix='vhost',
-                                                    ports=[self.pci_info])
+        eal_params = self.dut.create_eal_parameters(cores=self.cores, no_pci=True, prefix='vhost')
         para = " -- -i --nb-cores=1 --txd=1024 --rxd=1024"
         self.vhostapp_testcmd = testcmd + eal_params + vdev_info + para
         self.vhost_user.send_expect(self.vhostapp_testcmd, "testpmd> ", 40)