lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: Use of SolrJettyTestBase
Date Mon, 01 Apr 2013 23:21:36 GMT
: I've subclassed SolrJettyTestBase, and added a test method (annotated
: with @test). However, my test method is never called. I see the

You got an immediate failure from the tests setup, because you don'th ave 
assertions enabled in your JVM (the Lucene & Solr test frameworks both 
require assertions enabled to run tests because so many important things 
can't be sanity checked w/o them)...

: Test class requires enabled assertions, enable globally (-ea) or for
: Solr/Lucene subpackages only: com.odoko.ArgPostActionTest

FYI: in addition to that txt being written to System.err, it would have 
immediately been thrown as an Exception as well.   (see


View raw message