Skip to content

Commit

Permalink
Fix flaky spec helper
Browse files Browse the repository at this point in the history
Locally, it was not running flaky specs, because I forgot
to add the normal run when we are not in the CI.

I noticed this by running specs locally and seeing that
flaky were skipped.
  • Loading branch information
kennyadsl committed Feb 17, 2023
1 parent 7be1937 commit 3ee9736
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/lib/spree/testing_support/flaky.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
config.around(:each, :flaky) do |example|
if ENV['CI']
example.run_with_retry retry: 2
else
example.run
end
end
end

0 comments on commit 3ee9736

Please sign in to comment.