aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/cmd
diff options
context:
space:
mode:
authorMike McQuaid2018-02-13 10:04:24 +0000
committerGitHub2018-02-13 10:04:24 +0000
commitb609e406bcc8d0f022ce9ab2695710a023fc8377 (patch)
treead6e6c54f9a88e1f04ef4b60110a553fae163cfa /Library/Homebrew/test/cmd
parentab8ab6259d28fa2990a6bd00dc88dea3e1dcade6 (diff)
parentc57ab279ba4c723c275864e4f99c55a1cbc62a67 (diff)
downloadbrew-b609e406bcc8d0f022ce9ab2695710a023fc8377.tar.bz2
Merge pull request #3795 from MikeMcQuaid/rspec-retry
Use rspec-retry in brew tests
Diffstat (limited to 'Library/Homebrew/test/cmd')
-rw-r--r--Library/Homebrew/test/cmd/search_spec.rb2
-rw-r--r--Library/Homebrew/test/cmd/services_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/test/cmd/search_spec.rb b/Library/Homebrew/test/cmd/search_spec.rb
index 36ddde3e1..aec23ae4c 100644
--- a/Library/Homebrew/test/cmd/search_spec.rb
+++ b/Library/Homebrew/test/cmd/search_spec.rb
@@ -25,7 +25,7 @@ describe "brew search", :integration_test do
.and be_a_success
end
- it "falls back to a GitHub tap search when no formula is found", :needs_network do
+ it "falls back to a GitHub tap search when no formula is found", :needs_network, retry: 3 do
expect { brew "search", "caskroom/cask/firefox" }
.to output(/firefox/).to_stdout
.and output(/Searching/).to_stderr
diff --git a/Library/Homebrew/test/cmd/services_spec.rb b/Library/Homebrew/test/cmd/services_spec.rb
index 669e84e5f..fb40ce0b2 100644
--- a/Library/Homebrew/test/cmd/services_spec.rb
+++ b/Library/Homebrew/test/cmd/services_spec.rb
@@ -1,4 +1,4 @@
-describe "brew services", :integration_test, :needs_macos, :needs_network do
+describe "brew services", :integration_test, :needs_macos, :needs_network, retry: 3 do
it "allows controlling services" do
setup_remote_tap "homebrew/services"