You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2011/05/28 21:35:21 UTC
svn commit: r1128760 -
/lucene/dev/branches/leaky3147/lucene/src/test-framework/org/apache/lucene/store/MockIndexInputWrapper.java
Author: rmuir
Date: Sat May 28 19:35:21 2011
New Revision: 1128760
URL: http://svn.apache.org/viewvc?rev=1128760&view=rev
Log:
disable for now, we can turn this on later to be more picky
Modified:
lucene/dev/branches/leaky3147/lucene/src/test-framework/org/apache/lucene/store/MockIndexInputWrapper.java
Modified: lucene/dev/branches/leaky3147/lucene/src/test-framework/org/apache/lucene/store/MockIndexInputWrapper.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/leaky3147/lucene/src/test-framework/org/apache/lucene/store/MockIndexInputWrapper.java?rev=1128760&r1=1128759&r2=1128760&view=diff
==============================================================================
--- lucene/dev/branches/leaky3147/lucene/src/test-framework/org/apache/lucene/store/MockIndexInputWrapper.java (original)
+++ lucene/dev/branches/leaky3147/lucene/src/test-framework/org/apache/lucene/store/MockIndexInputWrapper.java Sat May 28 19:35:21 2011
@@ -41,7 +41,9 @@ public class MockIndexInputWrapper exten
@Override
public void close() throws IOException {
try {
- dir.maybeThrowDeterministicException();
+ // turn on the following to look for leaks closing inputs,
+ // after fixing TestTransactions
+ // dir.maybeThrowDeterministicException();
} finally {
delegate.close();
// Pending resolution on LUCENE-686 we may want to