Skip to content

Apache Lucene open-source search software

Fix Rakefile to fail immediately on unit test failures, rather than bug where things might seem ok if units failed but functionals did not

Erik Hatcherdcc781a7a523
diff --git a/client/ruby/solrb/Rakefile b/client/ruby/solrb/Rakefile
index 2a9fd2a16ab..5aa59347a52 100644
--- a/client/ruby/solrb/Rakefile
+++ b/client/ruby/solrb/Rakefile
@@ -80,7 +80,7 @@ end
task :test do
# unit tests don't require a solr server
- Rake::Task[:test_units].invoke rescue got_error = true
+ Rake::Task[:test_units].invoke
# wrap functional tests with a test-specific Solr server
got_error = TestSolrServer.wrap(:quiet => ENV['SOLR_CONSOLE'] ? false : true) do