Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
achamayou committed Oct 11, 2023
1 parent b96baf0 commit 26b9c9e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .azure-pipelines-templates/misc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,14 @@ steps:
# Whether tests pass or fail, print out a per-logfile, and total number of I/O operations that
# exceeded our opinion of "too long".
- script: |
set -ex
sudo apt install ripgrep > /dev/null
echo "TOOK TOO LONG "
echo "-------------------------------------"
rg "Took too long" --count
echo "-------------------------------------"
echo "TOOK TOO LONG TOTAL"
echo "-------------------------------------"
rg "Took too long" --count | cut -d : -f 2 | awk '{ sum += $1 } END { print sum }' | true
rg "Took too long" --count | cut -d : -f 2 | awk '{ sum += $1 } END { print sum }'
workingDirectory: build
displayName: "Took too long metrics"
condition: succeededOrFailed()

0 comments on commit 26b9c9e

Please sign in to comment.