Fix not-reported flaky tests (#22639)

Signed-off-by: Michal Hajas <mhajas@redhat.com>
This commit is contained in:
Michal Hajas 2023-08-23 11:57:20 +02:00 committed by GitHub
parent 3819112b55
commit fa1f1ebc70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,7 +17,7 @@ runs:
FLAKES=""
SEP=""
for dir in $(find -type d -name 'surefire-reports*'); do
for i in $(grep -l '<flakyFailure' $dir/TEST-*.xml); do
for i in $(grep -l -E '<flakyFailure|<flakyError' $dir/TEST-*.xml); do
FLAKES="$FLAKES$SEP$i"
SEP=$'\n'
done