mirror of
https://github.com/opf/openproject.git
synced 2026-06-13 19:20:00 +00:00
output flaky tests in summary and status
This commit is contained in:
@@ -175,6 +175,7 @@ run_features() {
|
||||
exit 1
|
||||
elif [ "$failed_count" -le 10 ]; then
|
||||
echo "retrying $failed_count failed examples"
|
||||
awk '$3 == "failed" {print "- `rspec " $1 "`"}' tmp/spec_examples.txt > tmp/retried_specs.txt
|
||||
execute "bundle exec rspec --only-failures --format documentation {,modules/*/}spec/features/**/*_spec.rb"
|
||||
else
|
||||
echo "too many failures ($failed_count), not retrying"
|
||||
|
||||
Reference in New Issue
Block a user