aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests/pytests/test_streaming.py
diff options
context:
space:
mode:
Diffstat (limited to 'host/tests/pytests/test_streaming.py')
-rw-r--r--host/tests/pytests/test_streaming.py17
1 files changed, 9 insertions, 8 deletions
diff --git a/host/tests/pytests/test_streaming.py b/host/tests/pytests/test_streaming.py
index 9d3f566fc..741c51a07 100644
--- a/host/tests/pytests/test_streaming.py
+++ b/host/tests/pytests/test_streaming.py
@@ -263,16 +263,17 @@ def test_streaming(pytestconfig, dut_type, use_dpdk, dual_SFP, rate, rx_rate, rx
print(batch_run_benchmark_rate.get_summary_string(stats, iterations, benchmark_rate_params))
# compare results against thresholds
- dropped_samps_threshold = 0
- overruns_threshold = 2
- rx_timeouts_threshold = 0
- rx_seq_err_threshold = 0
+ # TODO: Have non adhoc better thresholds.
+ dropped_samps_threshold = 50
+ overruns_threshold = 50
+ rx_timeouts_threshold = 50
+ rx_seq_err_threshold = 50
- underruns_threshold = 2
- tx_timeouts_threshold = 0
- tx_seq_err_threshold = 0
+ underruns_threshold = 50
+ tx_timeouts_threshold = 50
+ tx_seq_err_threshold = 50
- late_cmds_threshold = 0
+ late_cmds_threshold = 50
# TODO: define custom failed assertion explanations to avoid extra output
# https://docs.pytest.org/en/6.2.x/assert.html#defining-your-own-explanation-for-failed-assertions