Merge pull request #8480 from MikeMcQuaid/tests-timeout
spec_helper: increase tests timeout.
This commit is contained in:
commit
31f3afa36d
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user