diff options
author | Steven Koo <steven.koo@ni.com> | 2022-05-25 11:39:52 -0500 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2022-06-10 13:24:05 -0500 |
commit | 651113ee21a1a1d7432550e6e57b0e1f4bc09744 (patch) | |
tree | 842353763468735d370d604f3190f3d4cf7eb79a /host/tests/pytests/conftest.py | |
parent | b3ac81878bd86b19df61eada22143de8b9d286fd (diff) | |
download | uhd-651113ee21a1a1d7432550e6e57b0e1f4bc09744.tar.gz uhd-651113ee21a1a1d7432550e6e57b0e1f4bc09744.tar.bz2 uhd-651113ee21a1a1d7432550e6e57b0e1f4bc09744.zip |
ci: Add recv and send frame tuning for streaming
This adds the ability to tune the recv and send frames as a parameter.
This is useful since some rates will fail with jitter in the system
with the default settings.
Signed-off-by: Steven Koo <steven.koo@ni.com>
Diffstat (limited to 'host/tests/pytests/conftest.py')
-rw-r--r-- | host/tests/pytests/conftest.py | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/host/tests/pytests/conftest.py b/host/tests/pytests/conftest.py index 087fd2f8a..c118aa7c5 100644 --- a/host/tests/pytests/conftest.py +++ b/host/tests/pytests/conftest.py @@ -56,7 +56,16 @@ def pytest_addoption(parser): required=True, type=str, help="") - + parser.addoption( + "--num_recv_frames", + type=str, + nargs='?', + help="configures num_recv_frames parameter") + parser.addoption( + "--num_send_frames", + type=str, + nargs='?', + help="configures num_send_frames parameter") def pytest_configure(config): # register additional markers |