Argh it's is a Heisenbug!
I'll keep running the test over & over to see if I can get it to happen.
And I'll at least commit that change so when it does happen again we
get more detail.
Mike
Steven A Rowe wrote:
I applied the patch and then the test refused to fail.
I removed the patch and the test still refused to fail.
I'm not sure what happened - AFAIK I didn't change anything. I ran
the test about five times previously and it always failed :(.
Maybe it's Microsoft's gentle way of telling me it's time to move to
Vista. :)
Steve
On 09/12/2008 at 3:25 PM, Michael McCandless wrote:
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: [EMAIL PROTECTED] For
additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
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]