Merge pull request #8480 from MikeMcQuaid/tests-timeout

spec_helper: increase tests timeout.
This commit is contained in:
Mike McQuaid 2020-08-25 11:08:17 +01:00 committed by GitHub
commit 31f3afa36d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -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"

View File

@ -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

View File

@ -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