Skip to content

Commit dfd31c6

Browse files
committed
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 <pawelx.langowski@intel.com>
1 parent 5124961 commit dfd31c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-case/latency-metrics.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ report_metric()
257257
xruns=$(echo "{${metrics_}}" | jq 'select(.xruns > 0).xruns')
258258
if [ -n "${xruns}" ] && [ "${xruns}" -gt "${max_xruns}" ]; then
259259
printf ']}' >> "${RESULT_JSON}"
260-
skip_test "XRuns: ${xruns} detected!"
260+
die "XRuns: ${xruns} detected!"
261261
fi
262262
fi
263263
json_next_sep=","

0 commit comments

Comments
 (0)