aboutsummaryrefslogtreecommitdiffstats
path: root/.ci/templates/job-uhd-streaming-tests.yml
diff options
context:
space:
mode:
authorSteven Koo <steven.koo@ni.com>2022-05-25 11:39:52 -0500
committerAaron Rossetto <aaron.rossetto@ni.com>2022-06-10 13:24:05 -0500
commit651113ee21a1a1d7432550e6e57b0e1f4bc09744 (patch)
tree842353763468735d370d604f3190f3d4cf7eb79a /.ci/templates/job-uhd-streaming-tests.yml
parentb3ac81878bd86b19df61eada22143de8b9d286fd (diff)
downloaduhd-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 '.ci/templates/job-uhd-streaming-tests.yml')
-rw-r--r--.ci/templates/job-uhd-streaming-tests.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.ci/templates/job-uhd-streaming-tests.yml b/.ci/templates/job-uhd-streaming-tests.yml
index 326e7f681..24d47d59d 100644
--- a/.ci/templates/job-uhd-streaming-tests.yml
+++ b/.ci/templates/job-uhd-streaming-tests.yml
@@ -158,7 +158,8 @@ jobs:
cd ${{ parameters.uhdSrcDir }}/host/tests/pytests
python3 -B -m pytest -s test_streaming.py -m "not dpdk" --dut_type $(dutType) --test_length ${{ parameters.testLength }} \
--uhd_build_dir $(Build.BinariesDirectory)/uhddev/build --junitxml $(Common.TestResultsDirectory)/TEST-$(dutName).xml \
- --addr $(dutAddr) --second_addr $(dutSecondAddr) --mgmt_addr $(dutMgmtAddr) --name $(dutNameId)
+ --addr $(dutAddr) --second_addr $(dutSecondAddr) --mgmt_addr $(dutMgmtAddr) --name $(dutNameId) \
+ --num_recv_frames $(dutNumRecvFrames) --num_send_frames $(dutNumSendFrames)
env:
UHD_CONFIG_FILE: $(config_file)
PYTHONPATH: ${{ parameters.uhdSrcDir }}/host/tests/streaming_performance