test suite reviews and discussions
 help / color / Atom feed
* [dts] [PATCH V1] tests/pvp_virtio_user_4k_pages:Modify the class name.
@ 2019-09-05  7:20 zhu,shuai
  2019-09-05  7:18 ` Zhu, WenhuiX
  2019-09-18  5:07 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: zhu,shuai @ 2019-09-05  7:20 UTC (permalink / raw)
  To: dts; +Cc: wenhuix.zhu, zhu,shuai

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

Signed-off-by: zhu,shuai <shuaix.zhu@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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-05  7:20 [dts] [PATCH V1] tests/pvp_virtio_user_4k_pages:Modify the class name zhu,shuai
2019-09-05  7:18 ` Zhu, WenhuiX
2019-09-18  5:07 ` Tu, Lijuan

test suite reviews and discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ http://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/ public-inbox