Skip to content

Commit

Permalink
Try more retries
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverguenther committed Nov 25, 2024
1 parent 74c2571 commit 7a62abb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker-compose.ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ services:
- RUBY_VERSION
environment:
CI_JOBS: "${CI_JOBS}"
RSPEC_RETRY_RETRY_COUNT: "${CI_RETRY_COUNT:-3}"
RSPEC_RETRY_RETRY_COUNT: "${CI_RETRY_COUNT:-4}"
CAPYBARA_AWS_ACCESS_KEY_ID: "${CAPYBARA_AWS_ACCESS_KEY_ID}"
CAPYBARA_AWS_SECRET_ACCESS_KEY: "${CAPYBARA_AWS_SECRET_ACCESS_KEY}"
tmpfs:
Expand Down
2 changes: 1 addition & 1 deletion spec/support/rspec_retry.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# Retry JS feature specs, but not during single runs
if ENV["CI"]
config.around :each, :js do |ex|
ex.run_with_retry retry: 2
ex.run_with_retry retry: ENV["RSPEC_RETRY_RETRY_COUNT"].to_i
end
end
end
Expand Down

0 comments on commit 7a62abb

Please sign in to comment.