maybe for this test if its "Oracle" we should just porter-stem some words :)

On Sat, Aug 13, 2011 at 6:52 PM,  <[email protected]> wrote:
> Author: uschindler
> Date: Sat Aug 13 22:52:45 2011
> New Revision: 1157437
>
> URL: http://svn.apache.org/viewvc?rev=1157437&view=rev
> Log:
> also support new "Oracle" JRE
>
> Modified:
>    
> lucene/dev/trunk/lucene/src/test/org/apache/lucene/index/TestIndexWriterOnJRECrash.java
>
> Modified: 
> lucene/dev/trunk/lucene/src/test/org/apache/lucene/index/TestIndexWriterOnJRECrash.java
> URL: 
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/src/test/org/apache/lucene/index/TestIndexWriterOnJRECrash.java?rev=1157437&r1=1157436&r2=1157437&view=diff
> ==============================================================================
> --- 
> lucene/dev/trunk/lucene/src/test/org/apache/lucene/index/TestIndexWriterOnJRECrash.java
>  (original)
> +++ 
> lucene/dev/trunk/lucene/src/test/org/apache/lucene/index/TestIndexWriterOnJRECrash.java
>  Sat Aug 13 22:52:45 2011
> @@ -51,7 +51,7 @@ public class TestIndexWriterOnJRECrash e
>   public void testNRTThreads() throws Exception {
>     String vendor = Constants.JAVA_VENDOR;
>     assumeTrue(vendor + " JRE not supported.",
> -        vendor.startsWith("Sun") || vendor.startsWith("Apple"));
> +        vendor.startsWith("Oracle") || vendor.startsWith("Sun") || 
> vendor.startsWith("Apple"));
>
>     // if we are not the fork
>     if (System.getProperty("tests.crashmode") == null) {
>
>
>



-- 
lucidimagination.com

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

Reply via email to