From 4f36217838c14705785d640d8707b19120f82770 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Wed, 5 May 2021 09:49:23 +0100 Subject: [PATCH] cask/installer_spec: delete flaky test. I see this failing every couple of days despite no changes. --- Library/Homebrew/test/cask/installer_spec.rb | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/Library/Homebrew/test/cask/installer_spec.rb b/Library/Homebrew/test/cask/installer_spec.rb index e9da105157..6a9bbf9e14 100644 --- a/Library/Homebrew/test/cask/installer_spec.rb +++ b/Library/Homebrew/test/cask/installer_spec.rb @@ -25,24 +25,6 @@ describe Cask::Installer, :cask do expect(asset.config.appdir.join("container")).to be_a_file end - it "works with APFS dmg-based Casks" do - asset = Cask::CaskLoader.load(cask_path("container-apfs-dmg")) - diskutil_list_command = "diskutil list | grep '/dev'" - - sleep 5 - original_diskutil_list = `#{diskutil_list_command}` - - described_class.new(asset).install - - expect(Cask::Caskroom.path.join("container-apfs-dmg", asset.version)).to be_a_directory - expect(asset.config.appdir.join("container")).to be_a_file - - sleep 5 - expect { system diskutil_list_command } - .to output(original_diskutil_list) - .to_stdout_from_any_process - end - it "works with tar-gz-based Casks" do asset = Cask::CaskLoader.load(cask_path("container-tar-gz"))