buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject svn commit: r1395201 - /buildr/trunk/spec/java/bdd_spec.rb
Date Sun, 07 Oct 2012 01:22:04 GMT
Author: donaldp
Date: Sun Oct  7 01:22:03 2012
New Revision: 1395201

URL: http://svn.apache.org/viewvc?rev=1395201&view=rev
Log:
Mark two tests as pending due to persistent problems when run as part of a suite but that
run fine individually

Modified:
    buildr/trunk/spec/java/bdd_spec.rb

Modified: buildr/trunk/spec/java/bdd_spec.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/spec/java/bdd_spec.rb?rev=1395201&r1=1395200&r2=1395201&view=diff
==============================================================================
--- buildr/trunk/spec/java/bdd_spec.rb (original)
+++ buildr/trunk/spec/java/bdd_spec.rb Sun Oct  7 01:22:03 2012
@@ -31,7 +31,7 @@ describe Buildr::RSpec do
     # This test fails on the CI machine if the spec is run as part of a suite but not if
run individually
     # This seems to indicate that there is interaction with some other test but until that
other test is
     # identified the test has been marked as pending on the ci box
-    pending "Unable to determine why it fails on the CI machine so disabling" if `hostname`
== "vesta.apache.org\n"
+    pending "Unable to determine why it fails on the CI machine so disabling" if ENV['JOB_NAME']
     write('src/spec/ruby/success_spec.rb', 'describe("success") { it("is true") { nil.should
be_nil } }')
 
     project('foo').test.invoke
@@ -42,7 +42,7 @@ describe Buildr::RSpec do
     # This test fails on the CI machine if the spec is run as part of a suite but not if
run individually
     # This seems to indicate that there is interaction with some other test but until that
other test is
     # identified the test has been marked as pending on the ci box
-    pending "Unable to determine why it fails on the CI machine so disabling" if `hostname`
== "vesta.apache.org\n"
+    pending "Unable to determine why it fails on the CI machine so disabling" if ENV['JOB_NAME']
     success = File.expand_path('src/spec/ruby/success_spec.rb')
     write(success, 'describe("success") { it("is true") { nil.should be_nil } }')
     failure = File.expand_path('src/spec/ruby/failure_spec.rb')



Mime
View raw message