Skip to content

Commit

Permalink
ci: fix windows flake test detection (#677)
Browse files Browse the repository at this point in the history
  • Loading branch information
darioush authored Oct 28, 2024
1 parent 9d2e5a0 commit 4c5617b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ do
unexpected_failures=$(
# First grep pattern corresponds to test failures, second pattern corresponds to test panics due to timeouts
(grep "^--- FAIL" test.out | awk '{print $3}' || grep -E '^\s+Test.+ \(' test.out | awk '{print $1}') |
sort -u | comm -23 - ./scripts/known_flakes.txt
sort -u | comm -23 - <(sed 's/\r$//' ./scripts/known_flakes.txt)
)
if [ -n "${unexpected_failures}" ]; then
echo "Unexpected test failures: ${unexpected_failures}"
Expand Down

0 comments on commit 4c5617b

Please sign in to comment.