From c57ab279ba4c723c275864e4f99c55a1cbc62a67 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 13 Feb 2018 09:34:19 +0000 Subject: Use rspec-retry in flaky brew tests. We have a few tests that are intermittently flaky. Let's try this to see if we can get them a bit more reliable. --- Library/Homebrew/test/dev-cmd/pull_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew/test/dev-cmd') diff --git a/Library/Homebrew/test/dev-cmd/pull_spec.rb b/Library/Homebrew/test/dev-cmd/pull_spec.rb index 984ac0843..cc66df783 100644 --- a/Library/Homebrew/test/dev-cmd/pull_spec.rb +++ b/Library/Homebrew/test/dev-cmd/pull_spec.rb @@ -6,7 +6,7 @@ describe "brew pull", :integration_test do .and be_a_failure end - it "fetches a patch from a GitHub commit or pull request and applies it", :needs_network do + it "fetches a patch from a GitHub commit or pull request and applies it", :needs_network, retry: 3 do CoreTap.instance.path.cd do system "git", "init" system "git", "checkout", "-b", "new-branch" -- cgit v1.2.3