diff options
| author | Mike McQuaid | 2018-02-13 09:34:19 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2018-02-13 09:34:25 +0000 |
| commit | c57ab279ba4c723c275864e4f99c55a1cbc62a67 (patch) | |
| tree | b2abbb6af61ec460060a77f40a571383d4565d64 /Library/Homebrew/test/dev-cmd/pull_spec.rb | |
| parent | e904983275eb17cde115f8f586a8e6502a9126d4 (diff) | |
| download | brew-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.rb | 2 |
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" |
