From d3cfce63eaedbd2a3b711775b4cbb17075ea8bbf Mon Sep 17 00:00:00 2001 From: Lillias Date: Sat, 30 Mar 2024 19:31:11 +0300 Subject: [PATCH] Update metrics number in test --- tests/steps/test-measure-file.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/steps/test-measure-file.sh b/tests/steps/test-measure-file.sh index 6d1cec7f..839ff3ab 100755 --- a/tests/steps/test-measure-file.sh +++ b/tests/steps/test-measure-file.sh @@ -45,7 +45,7 @@ EOT set -x test "$(echo "${msg}" | grep -c "sum=0")" = 0 all=$(find "${temp}" -name 'm1.*' -type f -exec basename {} \; | sort) - expected=49 + expected=50 actual=$(echo "${all}" | wc -l | xargs) if [ ! "${actual}" = "${expected}" ]; then echo "Exactly ${expected} metrics were expected, but ${actual} were actually collected"