Skip to content

Commit

Permalink
Merge pull request #3961 from 3scale/increase-capybara-timeout-for-or…
Browse files Browse the repository at this point in the history
…acle

Increase Capybara timeout for Oracle tests
  • Loading branch information
mayorova authored Jan 14, 2025
2 parents 05e870c + 43aa61b commit d9dcf13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ build-envs:
environment:
DB: oracle
DATABASE_URL: oracle-enhanced://rails:railspass@127.0.0.1:1521/systempdb
CAPYBARA_MAX_WAIT_TIME: 20

##################################### CIRCLECI COMMANDS ############################################

Expand Down
2 changes: 1 addition & 1 deletion features/support/capybara.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
config.match = :prefer_exact
config.javascript_driver = :headless_chrome
config.always_include_port = true
config.default_max_wait_time = 10
config.default_max_wait_time = ENV.fetch('CAPYBARA_MAX_WAIT_TIME', 10).to_i
config.server = :webrick # default is `:default` (which uses puma)
end

Expand Down

0 comments on commit d9dcf13

Please sign in to comment.