From 117e8ab0d4356988ed8cfae6eee5004b60616f41 Mon Sep 17 00:00:00 2001 From: Pawel Staszczuk <41273017+staszczuk@users.noreply.github.com> Date: Mon, 27 Jan 2025 12:02:38 +0000 Subject: [PATCH] Rename perf tests --- .../performance/{test_1tx_1nic.py => test_1tx_1nic_1port.py} | 2 +- .../{test_1tx_1rx_2nics.py => test_1tx_1rx_2nics_2ports.py} | 4 +++- .../{test_2tx_2nics.py => test_2tx_2nics_2ports.py} | 2 +- .../{test_2tx_2rx_4nics.py => test_2tx_2rx_4nics_4ports.py} | 0 .../{test_4tx_4nics.py => test_4tx_4nics_4ports.py} | 0 .../{test_4tx_4rx_8nics.py => test_4tx_4rx_4nics_8ports.py} | 4 +++- 6 files changed, 8 insertions(+), 4 deletions(-) rename tests/validation/tests/single/performance/{test_1tx_1nic.py => test_1tx_1nic_1port.py} (96%) rename tests/validation/tests/single/performance/{test_1tx_1rx_2nics.py => test_1tx_1rx_2nics_2ports.py} (96%) rename tests/validation/tests/single/performance/{test_2tx_2nics.py => test_2tx_2nics_2ports.py} (97%) rename tests/validation/tests/single/performance/{test_2tx_2rx_4nics.py => test_2tx_2rx_4nics_4ports.py} (100%) rename tests/validation/tests/single/performance/{test_4tx_4nics.py => test_4tx_4nics_4ports.py} (100%) rename tests/validation/tests/single/performance/{test_4tx_4rx_8nics.py => test_4tx_4rx_4nics_8ports.py} (97%) diff --git a/tests/validation/tests/single/performance/test_1tx_1nic.py b/tests/validation/tests/single/performance/test_1tx_1nic_1port.py similarity index 96% rename from tests/validation/tests/single/performance/test_1tx_1nic.py rename to tests/validation/tests/single/performance/test_1tx_1nic_1port.py index 3a6585c93..6b5ea7702 100644 --- a/tests/validation/tests/single/performance/test_1tx_1nic.py +++ b/tests/validation/tests/single/performance/test_1tx_1nic_1port.py @@ -23,7 +23,7 @@ "i4320p59", ], ) -def test_perf_1tx_1nic(build, media, nic_port_list, test_time, video_format): +def test_perf_1tx_1nic_1port(build, media, nic_port_list, test_time, video_format): video_file = yuv_files[video_format] config = rxtxapp.create_empty_performance_config() diff --git a/tests/validation/tests/single/performance/test_1tx_1rx_2nics.py b/tests/validation/tests/single/performance/test_1tx_1rx_2nics_2ports.py similarity index 96% rename from tests/validation/tests/single/performance/test_1tx_1rx_2nics.py rename to tests/validation/tests/single/performance/test_1tx_1rx_2nics_2ports.py index e19a9fb8b..c8196f383 100644 --- a/tests/validation/tests/single/performance/test_1tx_1rx_2nics.py +++ b/tests/validation/tests/single/performance/test_1tx_1rx_2nics_2ports.py @@ -23,7 +23,9 @@ "i4320p59", ], ) -def test_perf_1tx_1rx_2nics(build, media, nic_port_list, test_time, video_format): +def test_perf_1tx_1rx_2nics_2ports( + build, media, nic_port_list, test_time, video_format +): # Increase time for 4k and 8k streams if "2160" in video_format: test_time = 60 diff --git a/tests/validation/tests/single/performance/test_2tx_2nics.py b/tests/validation/tests/single/performance/test_2tx_2nics_2ports.py similarity index 97% rename from tests/validation/tests/single/performance/test_2tx_2nics.py rename to tests/validation/tests/single/performance/test_2tx_2nics_2ports.py index 7e6f113e9..21873aa1b 100644 --- a/tests/validation/tests/single/performance/test_2tx_2nics.py +++ b/tests/validation/tests/single/performance/test_2tx_2nics_2ports.py @@ -23,7 +23,7 @@ "i4320p59", ], ) -def test_perf_2tx_2nics(build, media, nic_port_list, test_time, video_format): +def test_perf_2tx_2nics_2ports(build, media, nic_port_list, test_time, video_format): # Increase time for 4k and 8k streams if "2160" in video_format: test_time = 60 diff --git a/tests/validation/tests/single/performance/test_2tx_2rx_4nics.py b/tests/validation/tests/single/performance/test_2tx_2rx_4nics_4ports.py similarity index 100% rename from tests/validation/tests/single/performance/test_2tx_2rx_4nics.py rename to tests/validation/tests/single/performance/test_2tx_2rx_4nics_4ports.py diff --git a/tests/validation/tests/single/performance/test_4tx_4nics.py b/tests/validation/tests/single/performance/test_4tx_4nics_4ports.py similarity index 100% rename from tests/validation/tests/single/performance/test_4tx_4nics.py rename to tests/validation/tests/single/performance/test_4tx_4nics_4ports.py diff --git a/tests/validation/tests/single/performance/test_4tx_4rx_8nics.py b/tests/validation/tests/single/performance/test_4tx_4rx_4nics_8ports.py similarity index 97% rename from tests/validation/tests/single/performance/test_4tx_4rx_8nics.py rename to tests/validation/tests/single/performance/test_4tx_4rx_4nics_8ports.py index 6d6566f4c..817361ff2 100644 --- a/tests/validation/tests/single/performance/test_4tx_4rx_8nics.py +++ b/tests/validation/tests/single/performance/test_4tx_4rx_4nics_8ports.py @@ -23,7 +23,9 @@ "i4320p59", ], ) -def test_perf_2tx_2rx_4nics(build, media, nic_port_list, test_time, video_format): +def test_perf_4tx_4rx_4nics_8ports( + build, media, nic_port_list, test_time, video_format +): # For 4 NICs init time of the app is increased test_time = 60