From d7123d43c795f7402aed867937fb95b4e450101a Mon Sep 17 00:00:00 2001 From: Issy Long Date: Thu, 11 Jul 2024 18:56:39 +0100 Subject: [PATCH] test/dev-cmd/bottle: Mark the bottling test as `needs_network` - I was on a plane and this failed with: ``` expected block to not output to stderr, but output "curl: (6) Could not resolve host: spdx.github.io\nWarning: Failed to fetch SBOM schema, cannot perform SBOM validation! Warning: Could not fetch JSON schema to validate SBOM!\nWarning: SBOM is not valid, not writing to disk!" ``` --- Library/Homebrew/test/dev-cmd/bottle_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/test/dev-cmd/bottle_spec.rb b/Library/Homebrew/test/dev-cmd/bottle_spec.rb index d646e6b1d5..2faf9b36ab 100644 --- a/Library/Homebrew/test/dev-cmd/bottle_spec.rb +++ b/Library/Homebrew/test/dev-cmd/bottle_spec.rb @@ -32,7 +32,7 @@ RSpec.describe Homebrew::DevCmd::Bottle do it_behaves_like "parseable arguments" - it "builds a bottle for the given Formula", :integration_test do + it "builds a bottle for the given Formula", :integration_test, :needs_network do install_test_formula "testball", build_bottle: true # `brew bottle` should not fail with dead symlink