[V1] pvp_virtio_user_4k_pages: rename testsuite

Message ID 20230522085855.909279-1-weix.ling@intel.com (mailing list archive)
State Accepted
Headers
Series [V1] pvp_virtio_user_4k_pages: rename testsuite |

Checks

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

Commit Message

Ling, WeiX May 22, 2023, 8:58 a.m. UTC
  Rename pvp_virtio_user_4k_hugepages to pvp_virtio_user_4k_pages in
related files, incluse index.rst, test_plan, testsuite and config file.

Signed-off-by: Wei Ling <weix.ling@intel.com>
---
 ...o_user_4k_hugepages.cfg => pvp_virtio_user_4k_pages.cfg} | 4 ++--
 test_plans/index.rst                                        | 2 +-
 ...test_plan.rst => pvp_virtio_user_4k_pages_test_plan.rst} | 0
 ...k_hugepages.py => TestSuite_pvp_virtio_user_4k_pages.py} | 6 +++---
 4 files changed, 6 insertions(+), 6 deletions(-)
 rename conf/{pvp_virtio_user_4k_hugepages.cfg => pvp_virtio_user_4k_pages.cfg} (69%)
 rename test_plans/{pvp_virtio_user_4k_hugepages_test_plan.rst => pvp_virtio_user_4k_pages_test_plan.rst} (100%)
 rename tests/{TestSuite_pvp_virtio_user_4k_hugepages.py => TestSuite_pvp_virtio_user_4k_pages.py} (98%)
  

Comments

Tu, Lijuan May 25, 2023, 2:47 a.m. UTC | #1
On Mon, 22 May 2023 16:58:55 +0800, Wei Ling <weix.ling@intel.com> wrote:
> Rename pvp_virtio_user_4k_hugepages to pvp_virtio_user_4k_pages in
> related files, incluse index.rst, test_plan, testsuite and config file.
> 
> Signed-off-by: Wei Ling <weix.ling@intel.com>


Applied, thanks
  

Patch

diff --git a/conf/pvp_virtio_user_4k_hugepages.cfg b/conf/pvp_virtio_user_4k_pages.cfg
similarity index 69%
rename from conf/pvp_virtio_user_4k_hugepages.cfg
rename to conf/pvp_virtio_user_4k_pages.cfg
index 514230e9..c7428b0c 100644
--- a/conf/pvp_virtio_user_4k_hugepages.cfg
+++ b/conf/pvp_virtio_user_4k_pages.cfg
@@ -4,8 +4,8 @@  packet_sizes = [64, 128, 256, 512, 1024, 1518]
 test_duration = 30
 accepted_tolerance = 5
 expected_throughput = {
-    'test_perf_pvp_virtio_user_split_ring_with_4K_hugepages': {
+    'test_perf_pvp_virtio_user_split_ring_with_4K_pages': {
         64: 0.00, 128: 0.00, 256: 0.00, 512: 0.00, 1024: 0.00, 1518: 0.00}, 
-    'test_perf_pvp_virtio_user_packed_ring_with_4K_hugepages': {
+    'test_perf_pvp_virtio_user_packed_ring_with_4K_pages': {
         64: 0.00, 128: 0.00, 256: 0.00, 512: 0.00, 1024: 0.00, 1518: 0.00}}
 
diff --git a/test_plans/index.rst b/test_plans/index.rst
index a0c056cd..2008f50b 100644
--- a/test_plans/index.rst
+++ b/test_plans/index.rst
@@ -260,7 +260,7 @@  The following are the test plans for the DPDK DTS automated test system.
     pvp_qemu_multi_paths_port_restart_test_plan
     pvp_vhost_user_reconnect_test_plan
     pvp_virtio_bonding_test_plan
-    pvp_virtio_user_4k_hugepages_test_plan
+    pvp_virtio_user_4k_pages_test_plan
     vdev_primary_secondary_test_plan
     vhost_1024_ethports_test_plan
     virtio_pvp_regression_test_plan
diff --git a/test_plans/pvp_virtio_user_4k_hugepages_test_plan.rst b/test_plans/pvp_virtio_user_4k_pages_test_plan.rst
similarity index 100%
rename from test_plans/pvp_virtio_user_4k_hugepages_test_plan.rst
rename to test_plans/pvp_virtio_user_4k_pages_test_plan.rst
diff --git a/tests/TestSuite_pvp_virtio_user_4k_hugepages.py b/tests/TestSuite_pvp_virtio_user_4k_pages.py
similarity index 98%
rename from tests/TestSuite_pvp_virtio_user_4k_hugepages.py
rename to tests/TestSuite_pvp_virtio_user_4k_pages.py
index f7d2fe57..a89725e5 100644
--- a/tests/TestSuite_pvp_virtio_user_4k_hugepages.py
+++ b/tests/TestSuite_pvp_virtio_user_4k_pages.py
@@ -9,7 +9,7 @@  from framework.settings import HEADER_SIZE, UPDATE_EXPECTED, load_global_setting
 from framework.test_case import TestCase
 
 
-class TestPvpVirtioUser4kHugepages(TestCase):
+class TestPvpVirtioUser4kPages(TestCase):
     def set_up_all(self):
         """
         Run at the start of each test suite.
@@ -221,7 +221,7 @@  class TestPvpVirtioUser4kHugepages(TestCase):
         self.dut.close_session(self.vhost_user)
         self.dut.close_session(self.virtio_user)
 
-    def test_perf_pvp_virtio_user_split_ring_with_4K_hugepages(self):
+    def test_perf_pvp_virtio_user_split_ring_with_4K_pages(self):
         """
         Basic test for virtio-user 4K pages
         """
@@ -237,7 +237,7 @@  class TestPvpVirtioUser4kHugepages(TestCase):
         self.handle_results()
         self.close_all_apps()
 
-    def test_perf_pvp_virtio_user_packed_ring_with_4K_hugepages(self):
+    def test_perf_pvp_virtio_user_packed_ring_with_4K_pages(self):
         """
         Basic test for virtio-user 4K pages
         """