lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: TestIndexReaderReopen failures on WinXP
Date Fri, 12 Sep 2008 19:25:52 GMT

I can't get it to fail, on Windows Server 2003, Sun Java 1.4.2_15.

Unfortunately the test doesn't give us the traceback on failure (just  
the message "null").  Can you apply this, get the test to fail, and  
post back the traceback?

Index: src/test/org/apache/lucene/index/TestIndexReaderReopen.java
===================================================================
--- src/test/org/apache/lucene/index/TestIndexReaderReopen.java	 
(revision 694004)
+++ src/test/org/apache/lucene/index/TestIndexReaderReopen.java	 
(working copy)
@@ -818,6 +818,7 @@
        try {
          this.task.run();
        } catch (Throwable r) {
+        r.printStackTrace(System.out);
          this.error = r;
        }
      }

Mike

Steven A Rowe wrote:

> When I try to run all of the unit tests, TestIndexReaderReopen is  
> consistently failing:
>
>    [junit] Testsuite: org.apache.lucene.index.TestIndexReaderReopen
>    [junit] null)
>    [junit] Tests run: 13, Failures: 1, Errors: 0, Time elapsed:  
> 116.375 sec
>    [junit]
>    [junit] Testcase:  
> testThreadSafety(org.apache.lucene.index.TestIndexReaderReopen):   
> FAILED
>    [junit] Error occurred in thread Thread-37:
>    [junit] null
>    [junit] junit.framework.AssertionFailedError: Error occurred in  
> thread Thread-37:
>    [junit] null
>    [junit]     at  
> org 
> .apache 
> .lucene 
> .index 
> .TestIndexReaderReopen.testThreadSafety(TestIndexReaderReopen.java: 
> 761)
>    [junit]
>    [junit]
>    [junit] Test org.apache.lucene.index.TestIndexReaderReopen FAILED
>
> I'm running on Windows XP, with Sun Java 1.4.2_16.
>
> Is anybody else seeing this?
>
> Steve


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message