aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/dev-cmd/pull_spec.rb
diff options
context:
space:
mode:
authorMike McQuaid2018-02-13 09:34:19 +0000
committerMike McQuaid2018-02-13 09:34:25 +0000
commitc57ab279ba4c723c275864e4f99c55a1cbc62a67 (patch)
treeb2abbb6af61ec460060a77f40a571383d4565d64 /Library/Homebrew/test/dev-cmd/pull_spec.rb
parente904983275eb17cde115f8f586a8e6502a9126d4 (diff)
downloadbrew-c57ab279ba4c723c275864e4f99c55a1cbc62a67.tar.bz2
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.
Diffstat (limited to 'Library/Homebrew/test/dev-cmd/pull_spec.rb')
-rw-r--r--Library/Homebrew/test/dev-cmd/pull_spec.rb2
1 files changed, 1 insertions, 1 deletions
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"