Another possibility that works is to move this test to a separate class, 
annotated with SuppressCodecs (if it does not depend on indexes created in 
beforeclass).

Uwe

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: [email protected]


> -----Original Message-----
> From: Robert Muir [mailto:[email protected]]
> Sent: Thursday, April 24, 2014 8:41 PM
> To: [email protected]
> Subject: Re: svn commit: r1589782 -
> /lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/
> inde x/TestTerms.java
> 
> On Thu, Apr 24, 2014 at 12:31 PM, Michael McCandless
> <[email protected]> wrote:
> > Yeah, I didn't want to disable the full test, just that one method,
> > because I want Terms.getMin/Max testing for Lucene3x too.
> >
> > Would be nice if we could @SuppressCodecs for just one method ...
> 
> Thats impossible: many tests create their indexes in @BeforeClass, so codec
> selection really must be a per-class thing.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected] For additional
> commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to