You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by do...@apache.org on 2013/10/12 01:49:26 UTC
svn commit: r1531465 - /buildr/trunk/spec/java/external_spec.rb
Author: donaldp
Date: Fri Oct 11 23:49:25 2013
New Revision: 1531465
URL: http://svn.apache.org/r1531465
Log:
Add a retry for an intermittently failing test
Modified:
buildr/trunk/spec/java/external_spec.rb
Modified: buildr/trunk/spec/java/external_spec.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/spec/java/external_spec.rb?rev=1531465&r1=1531464&r2=1531465&view=diff
==============================================================================
--- buildr/trunk/spec/java/external_spec.rb (original)
+++ buildr/trunk/spec/java/external_spec.rb Fri Oct 11 23:49:25 2013
@@ -26,7 +26,8 @@ describe Buildr::Compiler::ExternalJavac
Buildr::Compiler.send :compilers=, COMPILERS_WITHOUT_JAVAC
end
- describe "should compile a Java project just in the same way javac does" do
+ # Fails sometimes under windows?
+ describe "should compile a Java project just in the same way javac does", :retry => 4 do
javac_spec = File.read(File.join(File.dirname(__FILE__), "compiler_spec.rb"))
javac_spec = javac_spec.match(Regexp.escape("require File.expand_path(File.join(File.dirname(__FILE__), '..', 'spec_helpers'))\n")).post_match
javac_spec.gsub!("javac", "externaljavac")