From d43638161629b71801a069d9e7f7bb37d2765c7e Mon Sep 17 00:00:00 2001 From: Rylan Polster Date: Sun, 20 Jul 2025 17:13:07 -0400 Subject: [PATCH] Fix tests with concurrent set --- Library/Homebrew/test/cmd/install_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/test/cmd/install_spec.rb b/Library/Homebrew/test/cmd/install_spec.rb index 1e8d70948d..310e419b59 100644 --- a/Library/Homebrew/test/cmd/install_spec.rb +++ b/Library/Homebrew/test/cmd/install_spec.rb @@ -67,7 +67,7 @@ RSpec.describe Homebrew::Cmd::InstallCmd do # Ignore dependencies, because we'll try to resolve requirements in build.rb # and there will be the git requirement, but we cannot instantiate git # formula since we only have testball1 formula. - expect { brew "install", "testball1", "--HEAD", "--ignore-dependencies" } + expect { brew "install", "testball1", "--HEAD", "--ignore-dependencies", "HOMEBREW_DOWNLOAD_CONCURRENCY" => "1" } .to output(%r{#{HOMEBREW_CELLAR}/testball1/HEAD-d5eb689}o).to_stdout .and output(/Cloning into/).to_stderr .and be_a_success