Skip to content

Commit 6c6a36a

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 deffa76 commit 6c6a36a

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
@@ -245,7 +245,7 @@ report_metric()
245245
xruns=$(echo "{${metrics_}}" | jq 'select(.xruns > 0).xruns')
246246
if [ -n "${xruns}" ] && [ "${xruns}" -gt "${max_xruns}" ]; then
247247
printf ']}' >> "${RESULT_JSON}"
248-
skip_test "XRuns: ${xruns} detected!"
248+
die "XRuns: ${xruns} detected!"
249249
fi
250250
fi
251251
json_next_sep=","

0 commit comments

Comments
 (0)