diff options
Diffstat (limited to 'host')
-rw-r--r-- | host/tests/pytests/conftest.py | 2 | ||||
-rw-r--r-- | host/tests/pytests/test_streaming.py | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/host/tests/pytests/conftest.py b/host/tests/pytests/conftest.py index dfca5d69f..eaacb81a3 100644 --- a/host/tests/pytests/conftest.py +++ b/host/tests/pytests/conftest.py @@ -7,7 +7,7 @@ dut_type_list = [ "E320", "X310", "X310_TwinRx", - "X410" + "x4xx" ] diff --git a/host/tests/pytests/test_streaming.py b/host/tests/pytests/test_streaming.py index 741c51a07..0e4b79e63 100644 --- a/host/tests/pytests/test_streaming.py +++ b/host/tests/pytests/test_streaming.py @@ -158,7 +158,7 @@ def generate_X310_TwinRx_test_cases(metafunc, test_length): stress_params = test_length_utils.test_length_params(iterations=2, duration=600) parametrize_test_length(metafunc, test_length, fast_params, stress_params) -def generate_X410_test_cases(metafunc, test_length): +def generate_x4xx_test_cases(metafunc, test_length): test_cases = [ # Test Lengths dual_SFP rate rx_rate rx_channels tx_rate tx_channels test case ID # ------------------------------------------------------------------------------------------------------------------------------ @@ -213,8 +213,8 @@ def pytest_generate_tests(metafunc): generate_X310_test_cases(metafunc, test_length) elif dut_type.lower() == 'x310_twinrx': generate_X310_TwinRx_test_cases(metafunc, test_length) - elif dut_type.lower() == 'x410': - generate_X410_test_cases(metafunc, test_length) + elif dut_type.lower() == 'x4xx': + generate_x4xx_test_cases(metafunc, test_length) def test_streaming(pytestconfig, dut_type, use_dpdk, dual_SFP, rate, rx_rate, rx_channels, @@ -252,7 +252,7 @@ def test_streaming(pytestconfig, dut_type, use_dpdk, dual_SFP, rate, rx_rate, rx # Run X410 streaming tests in multi_streamer mode and high thread priority # since those settings allow for best performance. - if dut_type.lower() == "x410": + if dut_type.lower() == "x4xx": benchmark_rate_params["multi_streamer"] = 1 benchmark_rate_params["priority"] = "high" |