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:
Mike McQuaid
2020-08-25 10:20:17 +01:00
parent 1b4e1ae6d7
commit 2bdf0d6068
3 changed files with 3 additions and 3 deletions
+1 -1
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"
+1 -1
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
+1 -1
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