From 6c6a36ac54d2599562ad606113dae4e637398251 Mon Sep 17 00:00:00 2001 From: Pawel Langowski Date: Wed, 1 Oct 2025 07:13:59 +0000 Subject: [PATCH] test-case: latency-metrics: Fail when xruns exceed threshold Before this change, the test was being skipped after the threshold was exceeded. It is better to fail the test in this case. Signed-off-by: Pawel Langowski --- test-case/latency-metrics.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-case/latency-metrics.sh b/test-case/latency-metrics.sh index 28aef80d..a4fb127e 100755 --- a/test-case/latency-metrics.sh +++ b/test-case/latency-metrics.sh @@ -245,7 +245,7 @@ report_metric() xruns=$(echo "{${metrics_}}" | jq 'select(.xruns > 0).xruns') if [ -n "${xruns}" ] && [ "${xruns}" -gt "${max_xruns}" ]; then printf ']}' >> "${RESULT_JSON}" - skip_test "XRuns: ${xruns} detected!" + die "XRuns: ${xruns} detected!" fi fi json_next_sep=","