diff --git a/continuousintegration/orchestration/tests/client_ar.sh b/continuousintegration/orchestration/tests/client_ar.sh index d74e0b1f481abab66c4b706f561481811810c13e..49fa73bd16e801f124f09c705f3511aa7183134e 100644 --- a/continuousintegration/orchestration/tests/client_ar.sh +++ b/continuousintegration/orchestration/tests/client_ar.sh @@ -395,7 +395,7 @@ if [ "0" != "$(ls ${ERROR_DIR} 2> /dev/null | wc -l)" ]; then fi # Ensure all requests files are queued -requestsTotal=`admin_cta --json sq | jq -r '.[] | select (.mountType == "RETRIEVE") | [ .queuedFiles | tonumber ] | reduce .[] as $n (0;.+$n)'` +requestsTotal=`admin_cta --json sq | jq 'map(select (.mountType == "RETRIEVE") | .queuedFiles | tonumber ) | reduce .[] as $n (0;.+$n)'` echo "Retrieve requests count: ${requestsTotal}" filesCount=`cat ${STATUS_FILE} | wc -l` echo -n "Status file wc: "