mirror of
https://github.com/gosticks/brew.git
synced 2026-10-04 06:26:59 +00:00
spec_helper: increase tests timeout.
When GitHub Actions is congested some tests can take longer than this (particularly as we're running in parallel). Globally double the time we allow for all tests.
This commit is contained in:
@@ -7,7 +7,7 @@ describe "Homebrew.reinstall_args" do
|
||||
it_behaves_like "parseable arguments"
|
||||
end
|
||||
|
||||
describe "brew reinstall", :integration_test, timeout: 120 do
|
||||
describe "brew reinstall", :integration_test do
|
||||
it "reinstalls a Formula" do
|
||||
install_test_formula "testball"
|
||||
foo_dir = HOMEBREW_CELLAR/"testball/0.1/bin"
|
||||
|
||||
@@ -7,7 +7,7 @@ describe "Homebrew.test_args" do
|
||||
end
|
||||
|
||||
# randomly segfaults on Linux with portable-ruby.
|
||||
describe "brew test", :integration_test, :needs_macos, timeout: 120 do
|
||||
describe "brew test", :integration_test, :needs_macos do
|
||||
it "tests a given Formula" do
|
||||
install_test_formula "testball", <<~'RUBY'
|
||||
test do
|
||||
|
||||
@@ -181,7 +181,7 @@ RSpec.configure do |config|
|
||||
end
|
||||
|
||||
begin
|
||||
timeout = example.metadata.fetch(:timeout, 60)
|
||||
timeout = example.metadata.fetch(:timeout, 120)
|
||||
inner_timeout = nil
|
||||
Timeout.timeout(timeout) do
|
||||
example.run
|
||||
|
||||
Reference in New Issue
Block a user