[DRE-commits] [ruby-listen] 07/07: retry until three times failing tests

Cédric Boutillier boutil at moszumanska.debian.org
Fri Jan 24 01:02:44 UTC 2014


This is an automated email from the git hooks/post-receive script.

boutil pushed a commit to branch master
in repository ruby-listen.

commit 4e0a3b7b34d95cef9c46b647f82099ab6e77d832
Author: Cédric Boutillier <boutil at debian.org>
Date:   Fri Jan 24 01:57:48 2014 +0100

    retry until three times failing tests
---
 debian/patches/retry_three_times.patch | 20 ++++++++++++++++++++
 debian/patches/series                  |  1 +
 2 files changed, 21 insertions(+)

diff --git a/debian/patches/retry_three_times.patch b/debian/patches/retry_three_times.patch
new file mode 100644
index 0000000..61ef969
--- /dev/null
+++ b/debian/patches/retry_three_times.patch
@@ -0,0 +1,20 @@
+Description: retry at most three times in case of test failure
+Author: Cédric Boutillier <boutil at debian.org>
+Last-Update: 2014-01-24
+
+--- a/spec/spec_helper.rb
++++ b/spec/spec_helper.rb
+@@ -1,4 +1,3 @@
+-require 'rubygems'
+ require 'listen'
+ 
+ def ci?; ENV['CI'] end
+@@ -25,7 +24,7 @@
+ 
+ require 'rspec/retry'
+ RSpec.configure do |config|
+-  config.default_retry_count = ci? ? 3 : 1
++  config.default_retry_count = 3
+ end
+ 
+ require 'celluloid/rspec'
diff --git a/debian/patches/series b/debian/patches/series
index 7af0f42..4c8f73f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 #skip_dependency_manager_test
 #mark_unstable_test_pending
 #circumvent-dependency-manager
+retry_three_times.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-listen.git



More information about the Pkg-ruby-extras-commits mailing list