buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject [31/50] git commit: Add retry to a test that can fail intermittently under windows
Date Thu, 31 Jul 2014 05:12:45 GMT
Add retry to a test that can fail intermittently under windows

git-svn-id: https://svn.apache.org/repos/asf/buildr/trunk@1537924 13f79535-47bb-0310-9956-ffa450edef68


Project: http://git-wip-us.apache.org/repos/asf/buildr/repo
Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/06b59574
Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/06b59574
Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/06b59574

Branch: refs/heads/master
Commit: 06b59574d63703480bb7a613c7d1009f0b379bf7
Parents: de317d0
Author: Peter Donald <donaldp@apache.org>
Authored: Fri Nov 1 12:59:02 2013 +0000
Committer: Peter Donald <donaldp@apache.org>
Committed: Fri Nov 1 12:59:02 2013 +0000

----------------------------------------------------------------------
 spec/java/packaging_spec.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/buildr/blob/06b59574/spec/java/packaging_spec.rb
----------------------------------------------------------------------
diff --git a/spec/java/packaging_spec.rb b/spec/java/packaging_spec.rb
index 489d5e1..2d2e9c8 100644
--- a/spec/java/packaging_spec.rb
+++ b/spec/java/packaging_spec.rb
@@ -566,7 +566,7 @@ describe Packaging, 'war' do
     end
   end
 
-  it 'should accept files from :classes option' do
+  it 'should accept files from :classes option', :retry => (Buildr::Util.win_os? ? 4 :
1) do
     write 'classes/test'
     define('foo', :version=>'1.0') { package(:war).with(:classes=>'classes') }
     rm_f project('foo').package(:war).to_s


Mime
View raw message