cask/installer_spec: delete flaky test.
I see this failing every couple of days despite no changes.
This commit is contained in:
parent
7d6f9f6eb9
commit
4f36217838
@ -25,24 +25,6 @@ describe Cask::Installer, :cask do
|
|||||||
expect(asset.config.appdir.join("container")).to be_a_file
|
expect(asset.config.appdir.join("container")).to be_a_file
|
||||||
end
|
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
|
it "works with tar-gz-based Casks" do
|
||||||
asset = Cask::CaskLoader.load(cask_path("container-tar-gz"))
|
asset = Cask::CaskLoader.load(cask_path("container-tar-gz"))
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user