[dts] [PATCH V1] tests/pvp_virtio_user_4k_pages:Modify the class name.

zhu,shuai shuaix.zhu at intel.com
Thu Sep 5 09:20:15 CEST 2019


The test suite does not match the class name, and the class name is modified.

Signed-off-by: zhu,shuai <shuaix.zhu at intel.com>
---
 tests/TestSuite_pvp_virtio_user_4k_pages.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/TestSuite_pvp_virtio_user_4k_pages.py b/tests/TestSuite_pvp_virtio_user_4k_pages.py
index 11079a4..0395d02 100644
--- a/tests/TestSuite_pvp_virtio_user_4k_pages.py
+++ b/tests/TestSuite_pvp_virtio_user_4k_pages.py
@@ -41,7 +41,7 @@ from packet import Packet, save_packets
 from pktgen import PacketGeneratorHelper
 
 
-class TestPVPVirtioWith2Mhuge(TestCase):
+class TestPvpVirtioUser4kPages(TestCase):
 
     def set_up_all(self):
         """
@@ -134,9 +134,9 @@ class TestPVPVirtioWith2Mhuge(TestCase):
         command_line_client = "%s/app/testpmd -c %s -n %d " + \
                               "--file-prefix=vhost  -m 1024 --no-huge " + \
                               "--vdev 'net_vhost0,iface=vhost-net,queues=1' -- -i " + \
-                              "--no-numa --socket-num=0"
+                              "--no-numa --socket-num=%d"
         command_line_client = command_line_client % (self.target,
-                            self.core_mask_vhost_user, self.mem_channels)
+                            self.core_mask_vhost_user, self.mem_channels, self.ports_socket)
         self.vhost_user.send_expect(command_line_client, "testpmd> ", 120)
         self.vhost_user.send_expect("start", "testpmd> ", 120)
 
-- 
2.17.2



More information about the dts mailing list