diff --git a/Library/Homebrew/test/cmd/reinstall_spec.rb b/Library/Homebrew/test/cmd/reinstall_spec.rb
index 45b5a48ffbd776278c21a740600fda12625adaf1..68c67a82dd86715a7bfb3fcba24f3f99304a3767 100644
--- a/Library/Homebrew/test/cmd/reinstall_spec.rb
+++ b/Library/Homebrew/test/cmd/reinstall_spec.rb
@@ -7,7 +7,7 @@ describe "Homebrew.reinstall_args" do
   it_behaves_like "parseable arguments"
 end
 
-describe "brew reinstall", :integration_test do
+describe "brew reinstall", :integration_test, timeout: 120 do
   it "reinstalls a Formula" do
     install_test_formula "testball"
     foo_dir = HOMEBREW_CELLAR/"testball/0.1/bin"
diff --git a/Library/Homebrew/test/dev-cmd/test_spec.rb b/Library/Homebrew/test/dev-cmd/test_spec.rb
index 866230a70399bf3946503fd27c9696130a860f34..b3bb257a396d5f83cdcaa70459d99278634da154 100644
--- a/Library/Homebrew/test/dev-cmd/test_spec.rb
+++ b/Library/Homebrew/test/dev-cmd/test_spec.rb
@@ -7,7 +7,7 @@ describe "Homebrew.test_args" do
 end
 
 # randomly segfaults on Linux with portable-ruby.
-describe "brew test", :integration_test, :needs_macos do
+describe "brew test", :integration_test, :needs_macos, timeout: 120 do
   it "tests a given Formula" do
     install_test_formula "testball", <<~'RUBY'
       test do